Changes between Version 45 and Version 46 of Submitting/C


Ignore:
Timestamp:
Jun 21, 2014, 8:41:37 AM (10 years ago)
Author:
neteler
Comment:

compiler flags updated

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/C

    v45 v46  
    276276=== Compiler Flags ===
    277277
    278 Suggested compiler flags:
    279     We suggest to use very strict compiler flags to capture errors at the very beginning. Here our list of flags, please use them to configure you development version of GRASS:
    280 
    281     GNU/Linux:
    282 {{{
    283        MYCFLAGS="-g -Wall -Werror-implicit-function-declaration -fno-common"
     278Suggested compiler flags: We suggest to use very strict compiler flags to capture errors at the very beginning. Here our list of flags, please use them to configure you development version of GRASS GIS.
     279
     280See also http://grasswiki.osgeo.org/wiki/Compile_and_Install
     281
     282==== GNU/Linux ====
     283{{{
     284       MYCFLAGS="-g -Wall -Werror-implicit-function-declaration -Wreturn-type -fno-common -fexceptions"
    284285       MYCXXFLAGS="-g -Wall"
    285        
    286        CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCXXFLAGS" ./configure ...
    287 }}}
    288     MacOSX:     [to be suggested]
    289 
    290     MS-Windows: [to be suggested]
     286       MYLDFLAGS="-Wl,--no-undefined -Wl,-z,relro"
     287
     288       CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCXXFLAGS" LDFLAGS="$MYLDFLAGS" ./configure ...
     289}}}
     290
     291==== MacOSX ====
     292
     293(to be suggested, see [http://trac.osgeo.org/grass/browser/grass/trunk/macosx/ReadMe.rtf macosx/ReadMe.rtf])
     294
     295==== MS-Windows ====
     296
     297(to be suggested, see [wiki:CompileOnWindows])
     298
     299==== FreeBSD / NetBSD ====
     300
     301(to be suggested)
     302
     303See also http://grasswiki.osgeo.org/wiki/Compile_and_Install#FreeBSD_.2F_NetBSD
     304
     305==== IBM/AIX ====
     306
     307(to be suggested)
     308
     309See also http://grasswiki.osgeo.org/wiki/Compile_and_Install#AIX
     310
     311==== Solaris ====
     312
     313(to be suggested)
     314
     315See also http://grasswiki.osgeo.org/wiki/Compile_and_Install#AIX
     316
     317...