[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Libtool chops valid `-framework OpenGL' on Darwin

From: Brian
Subject: Libtool chops valid `-framework OpenGL' on Darwin
Date: Fri, 18 Nov 2005 20:25:16 -0700

Libtool appears to be trying to clean up the command line and in the process removing a valid extension to apple's version of gcc. I can't think of a way I can get around this which means my build process is broken on the mac. 

Notice that the command sent to libtool is not the command issued

bin/sh ../../libtool --tag=CXX --mode=link g++  -I/Developer/qt-mac-free-3.3.5/include   -L/usr/lib -o pdp++  pdp__-main.o /Users/mingus/pdp-4.0/src/pdp/../.././src/ta/ /Users/mingus/pdp-4.0/src/pdp/../.././src/css/ /Users/mingus/pdp-4.0/src/pdp/../.././src/tamisc/ /Users/mingus/pdp-4.0/src/pdp/../.././src/taiqtso/ -lz  -ldl -lreadline -L/Developer/qt-mac-free-3.3.5/lib -lqt-mt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -framework OpenGL -lCoin -ljpeg -lSoQt
g++ -I/Developer/qt-mac-free-3.3.5/include -o pdp++ pdp__-main.o "-framework OpenGL" -Wl,-bind_at_load  -L/usr/lib ./.libs/libpdp.a -L/Developer/qt-mac-free-3.3.5/lib -L/usr/X11R6/lib /Users/mingus/pdp-4.0/src/pdp/../.././src/ta/.libs/libta.a /Users/mingus/pdp-4.0/src/pdp/../.././src/css/.libs/libcss.a /Users/mingus/pdp-4.0/src/pdp/../.././src/tamisc/.libs/libtamisc.a /Users/mingus/pdp-4.0/src/pdp/../.././src/taiqtso/.libs/libtaiqtso.a /Developer/qt-mac-free-3.3.5/lib/libqt-mt.dylib -lz -ldl -lreadline -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -lCoin -ljpeg -lSoQt
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status

Manually issuing the command works as expected.

 g++ -I/Developer/qt-mac-free-3.3.5/include -o pdp++ pdp__-main.o "-framework OpenGL" -Wl,-bind_at_load  -L/usr/lib ./.libs/libpdp.a -L/Developer/qt-mac-free-3.3.5/lib -L/usr/X11R6/lib /Users/mingus/pdp-4.0/src/pdp/../.././src/ta/.libs/libta.a /Users/mingus/pdp-4.0/src/pdp/../.././src/css/.libs/libcss.a /Users/mingus/pdp-4.0/src/pdp/../.././src/tamisc/.libs/libtamisc.a /Users/mingus/pdp-4.0/src/pdp/../.././src/taiqtso/.libs/libtaiqtso.a /Developer/qt-mac-free-3.3.5/lib/libqt-mt.dylib -lz -ldl -lreadline -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -lCoin -ljpeg -lSoQt -framework OpenGL

Brian Mingus
AIM, Skype: BReflection
Google talk: address@hidden
Phone: (720) 771-2599
reply via email to

[Prev in Thread] Current Thread [Next in Thread]