|
#1
| |||
| |||
| complier differences
does anyone know which librarys are linked when compiling using 'c++' as opposed to 'cc'. My project works with one but not the other, argh. cheers timmcd |
|
#2
| ||||
| ||||
|
Are you sure that it is a libraries issue? Those are compilers for different "languages"... Apart from that otool is what you want here are some examples Code: [Omppu:~] eric% otool -L /sw/bin/xemacs
/sw/bin/xemacs:
/usr/X11R6/lib/libXaw.7.dylib (compatibility version 7.0.0, current version 7.0.0)
/sw/lib/libtiff.3.dylib (compatibility version 3.5.0, current version 3.5.7)
/sw/lib/libpng.2.dylib (compatibility version 1.0.12, current version 1.0.12)
/sw/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0)
/usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3)
/usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0, current version 4.11.0)
/usr/X11R6/lib/libXmu.6.dylib (compatibility version 6.2.0, current version 6.2.0)
/usr/X11R6/lib/libXt.6.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0)
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)
/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current version 6.3.0)
/sw/lib/libdl.0.dylib (compatibility version 0.0.0, current version 0.0.0)
/sw/lib/libncurses.dylib.5 (compatibility version 5.0.0, current version 5.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 55.1.0)
[Omppu:~] eric% otool -L /Applications/TextEdit.app/Contents/MacOS/TextEdit
/Applications/TextEdit.app/Contents/MacOS/TextEdit:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 8.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 60.0.0)
[Omppu:~] eric%
Have Fun! -Eric |
|
#3
| |||
| |||
|
otool did the job, c++ links to the system library (see below), simply including it within my project made it all ok. /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 55.1.0) |
|
#4
| |||
| |||
|
forgot to say thanks before hitting reply. cheers timmcd |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Curious on any speed differences... | ScottW | Site Discussion | 3 | October 2nd, 2002 12:49 AM |
| 10.1.5 and 10.2 differences? | wooly-booger | Mac OS X System & Mac Software | 1 | July 17th, 2002 08:13 PM |
| differences beetwen apple flat displays ? | maccatalan | Hardware & Peripherals | 5 | July 16th, 2002 10:28 AM |
| iBook Revision Differences?? | pbmac | Hardware & Peripherals | 0 | May 7th, 2002 04:22 PM |
| G3 and G4 logic board differences? | chemistry_geek | Hardware & Peripherals | 3 | September 19th, 2001 10:28 PM |