Hello,

I put here different sets of compiler flags for many different
compilers. Some of them are not free software, but I think that can be
used by someone in order to check a clean compilation for them. I've
tried that the flags (when exist) were equivalent to the used gcc
ones:

Free compilares:

GCC:
-------
gcc   -std=c99 -pedantic -Wall -Wextra -Wmissing-prototypes
-Wstrict-prototypes -Wnested-externs -Wconversion -Wshadow -Wcast-qual
-Wcast-align -Wwrite-strings

CLANG:
----------
clang   -std=c99 -pedantic -Wextra-tokens

OPENWATCOM (OWCC):
---------------------------------
owcc   -std=c99 -Wall -Wextra -Woverlay

OPEN64 (OPENCC):
--------------------------
opencc   -std=c99 -pedantic -Wall -Wbad-function-cast
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wdiv-by-zero -Wunreachable-code -Wunused -Wunused-parameter
-Wwrite-strings -Wconversion -Wformat-nonliteral -Wformat-security
-Wmissing-noreturn -Wpointer-arith -Wredundant-decls -Wshadow
-Wsign-compare -Wswitch-enum

PATHSCALE (PATHCC):
------------------------------
pathcc   -std=c99 -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wnested-externs -Wconversion -Wshadow -Wcast-qual -Wcast-align
-Wwrite-strings

MERCURIUM (PLAINCC):
--------------------------------
plaincc   -std=c99 -Wall -Wextra -Wconversion -Wmissing-prototypes
-Wstrict-prototypes -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
-Wnested-externs

TCC:
--------
tcc   -Wall -Wunsupported -Wwrite-strings

PCC:
-------
pcc

NWCC:
---------
nwcc   -pedantic

Non free compilers

INTEL (ICC):
----------------
pathcc   -std=c99 -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wnested-externs -Wconversion -Wshadow -Wcast-qual -Wcast-align
-Wwrite-strings

ORACLE (SUNCC):
-------------------------
suncc   -xc99=all -Xc -xCC -errfmt -errhdr -xbuiltin -xlibmil
-xlibmopt -errtags -v

PORTLAND GROUP (PGCC):
--------------------------------------
pgcc   -c99 -Minform=warn

LCC:
-------
lcc   -A -A

Cheers

-- 
*****************************************
José Luis García Pallero
[email protected]
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to