CMake Platform Dependent Issues: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(ββThe Platforms / Compilers Table: Add link to another table) |
No edit summary |
||
Line 29: | Line 29: | ||
* '''†''' In order for ''depends'' to be installed, the "Win32 Platform SDK Tool" needs to be selected when installing Visual Studio (See [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vccondeterminingwhichdllstoredistribute.asp Determining Which DLLs to Redistribute]). | * '''†''' In order for ''depends'' to be installed, the "Win32 Platform SDK Tool" needs to be selected when installing Visual Studio (See [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vccondeterminingwhichdllstoredistribute.asp Determining Which DLLs to Redistribute]). | ||
==Compiler Options and Flags== | |||
{| border="1" | |||
|- bgcolor="#abcdef" | |||
! Compiler !! Full warnings !! Errors as warnings | |||
|- | |||
| gcc || -W -Wall || -Werror | |||
|- | |||
| MIPS Pro || -fullwarn || -w2 | |||
|} | |||
* More platform specific information can be found in [http://bhami.com/rosetta.html ROSETTA STONE] platforms table (Mostly for system administrators) | * More platform specific information can be found in [http://bhami.com/rosetta.html ROSETTA STONE] platforms table (Mostly for system administrators) | ||
* Another even more complete table: [http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html Using static and shared libraries across platforms] (For various compiler flags and options) | * Another even more complete table: [http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html Using static and shared libraries across platforms] (For various compiler flags and options) |
Revision as of 14:37, 26 October 2004
The Platforms / Compilers Table
Platform | System Info | Compilers | List Dependencies | Trace Syscal/Signal | Runtime Library Path |
---|---|---|---|---|---|
Linux | uname -a | gcc, g++, icc | ldd program | strace | $LD_LIBRARY_PATH |
HP-UX | uname -a | cc, aCC | chatr program | $SHLIB_PATH | |
AIX | uname -a | xlc, xlC | dump -H program | $LIBPATH | |
SunOS | uname -a | cc, CC | ldd program | $LD_LIBRARY_PATH | |
IRIX | hinv, uname -a | cc, CC | ldd program | $LD_LIBRARY_PATH, $LD_LIBRARYN32_PATH, $LD_LIBRARY64_PATH | |
Max OSX / Darwin | system_profiler, uname -a | gcc, g++ | otool -L program | ktrace -f outfile program; kdump outfile | $DYLD_LIBRARY_PATH |
Windows | ver | 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).
Compiler Options and Flags
Compiler | Full warnings | Errors as warnings |
---|---|---|
gcc | -W -Wall | -Werror |
MIPS Pro | -fullwarn | -w2 |
- More platform specific information can be found in ROSETTA STONE platforms table (Mostly for system administrators)
- Another even more complete table: Using static and shared libraries across platforms (For various compiler flags and options)