I have tried compiling extension modules for python using pyrex and swig and both mingw and sygwin gcc under windows32 Unfortunately whatever I try the compilers fail to link python23.lib as specified under gcc -L option - I just get a string of "undefined references" to Python builtins. Anyone know why?