A while back I wrote about a problem I was having with the ordering of -framework options in distutils compilation commands. Well, now I've discovered something even stranger.
When distutils executes the following link command, I get a bunch of undefined OpenGL-related symbols. But if I copy and paste *exactly the same command* into the shell, it succeeds! What could possibly be going on here? gcc -Wl,-F. -bundle -framework Python build/temp.darwin-8.4.0-Power_Macintosh-2.3/_soya.o build/temp.darwin-8.4.0-Power_Macintosh-2.3/matrix.o build/temp.darwin-8.4.0-Power_Macintosh-2.3/chunk.o -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -lm -lGLEW -lfreetype -lcal3d -lstdc++ -lode -o build/lib.darwin-8.4.0-Power_Macintosh-2.3/soya/_soya.so -framework OpenGL -framework SDL -framework OpenAL This is on MacOSX 10.4 with Python 2.3. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com