CMake Platform Dependent Issues: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 34: Line 34:
{| border="1"
{| border="1"
|- bgcolor="#abcdef"
|- bgcolor="#abcdef"
! Compiler !! Full warnings !! Errors as warnings
! Compiler !! Full warnings !! Errors as warnings !! Disabling a particular warning (#n)
|-
|-
| gcc || -W -Wall || -Werror
| gcc || -W -Wall || -Werror ||
|-
|-
| MIPS Pro || -fullwarn || -w2
| MIPS Pro || -fullwarn || -w2 ||
|-
| icc || -Wall -w2 -Wcheck || -Werror || -wd(#n)
|}
|}



Revision as of 20:38, 28 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

Compiler Options and Flags

Compiler Full warnings Errors as warnings Disabling a particular warning (#n)
gcc -W -Wall -Werror
MIPS Pro -fullwarn -w2
icc -Wall -w2 -Wcheck -Werror -wd(#n)
  • More platform specific information can be found in ROSETTA STONE platforms table (Mostly for system administrators)