On 03/ 3/15 02:52 PM, Apostolos Syropoulos via openindiana-discuss wrote:
Build tools
Compiler Version Compiler flags
/opt/solarisstudio12.3.rsync/bin/cc Sun C 5.12 SunOS_i386 Patch 148918-07
2013/08/22 -I/usr/X11/include -D__FUNC__=__func__ -xlibmieee -xstrconst
-xbuiltin=%all -D__FUNCTION__=__func__ -mt
/opt/solarisstudio12.3.rsync/bin/CC Sun C++ 5.12 SunOS_i386 Patch
148509-13 2013/08/22 -xlibmil -xlibmopt -lCrun -lCstd
-features=tmplrefstatic,no%except -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
-template=no%extdef -xlibmieee -xbuiltin=%all
-features=tmplife,tmplrefstatic,extensions,no%except -norunpath
-D__FUNCTION__=__func__ -template=no%extdef -D_XOPEN_SOURCE=500
-D__EXTENSIONS__ -xannotate=no -mt -DNDEBUG -DTRIMMED -xO4
I am compiling using gcc 4.8.2 (maybe I will upgrade later on). Some may say
that SunStudio is good compiler. I think it is better to stick to the compiler
most people use. After all, I cannot be sure the compiler will be freely
available
tommorow. On the other hand, GCC will be free for ever!
Maybe first try to reproduce what the Sun/Oracle team does to build every
release, using Sun CC, then try to port to GCC?
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss