CMake Platform Dependent Issues: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{| border="1" | {| border="1" | ||
|- bgcolor="#abcdef" | |- bgcolor="#abcdef" | ||
! Platform !! Compilers !! List Dependencies !! Library Path | ! Platform !! Compilers !! List Dependencies !! Trace Syscal/Signal !! Library Path | ||
|- | |- | ||
| Linux || gcc, g++, icc || ldd program || $LD_LIBRARY_PATH | | Linux || gcc, g++, icc || ldd program || strace || $LD_LIBRARY_PATH | ||
|- | |- | ||
| HP-UX || cc, aCC || chatr program || $SHLIB_PATH | | HP-UX || cc, aCC || chatr program || || $SHLIB_PATH | ||
|- | |- | ||
| AIX || xlc, xlC || dump -H program || $LIBPATH | | AIX || xlc, xlC || dump -H program || || $LIBPATH | ||
|- | |- | ||
| SunOS || cc, CC || ldd program || $LD_LIBRARY_PATH | | SunOS || cc, CC || ldd program || || $LD_LIBRARY_PATH | ||
|- | |- | ||
| IRIX || cc, CC || ldd program || $LD_LIBRARY_PATH | | IRIX || cc, CC || ldd program || || $LD_LIBRARY_PATH | ||
|- | |- | ||
| Max OSX / Darwin || gcc, g++ || otool -L program || $DYLD_LIBRARY_PATH | | Max OSX / Darwin || gcc, g++ || otool -L program || ktrace -f outfile program; kdump outfile || $DYLD_LIBRARY_PATH | ||
|- | |- | ||
|rowspan=3| Windows || Visual Studio 6, cl || depends program.exe ||rowspan=3| $PATH | |rowspan=3| Windows || Visual Studio 6, cl || depends program.exe ||rowspan=3| ||rowspan=3| $PATH | ||
|- | |- | ||
|Visual Studio 7, cl || depends program.exe '''†''' | |Visual Studio 7, cl || depends program.exe '''†''' |
Revision as of 14:19, 27 September 2004
The Platforms / Compilers Table
Platform | Compilers | List Dependencies | Trace Syscal/Signal | Library Path |
---|---|---|---|---|
Linux | gcc, g++, icc | ldd program | strace | $LD_LIBRARY_PATH |
HP-UX | cc, aCC | chatr program | $SHLIB_PATH | |
AIX | xlc, xlC | dump -H program | $LIBPATH | |
SunOS | cc, CC | ldd program | $LD_LIBRARY_PATH | |
IRIX | cc, CC | ldd program | $LD_LIBRARY_PATH | |
Max OSX / Darwin | gcc, g++ | otool -L program | ktrace -f outfile program; kdump outfile | $DYLD_LIBRARY_PATH |
Windows | Visual Studio 6, cl | depends program.exe | $PATH | |
Visual Studio 7, cl | depends program.exe † | |||
Visual Studio 7.1, cl | depends program.exe † |
- † In order for depends to be installed, the "Win32 Platform SDK Tool" needs to be selected when installing Visual Studio (See Determining Which DLLs to Redistribute).
- More platform specific information can be found in ROSETTA STONE platforms table (Mostly for system administrators)