Commits

trass3r committed 3a991ea

Edited online

  • Participants
  • Parent commits fc808ae

Comments (0)

Files changed (1)

     ../configure --enable-languages=d --disable-bootstrap \
         --disable-shared --disable-nls --prefix=/opt/gdc \
         --with-bugurl="https://bitbucket.org/goshawk/gdc/issues" \
-        --enable-checking=assert,runtime,misc,tree,gimple,types,rtlflag \
+        --enable-checking=yes \
         --disable-libgomp --disable-libmudflap
     make -j2 2>&1 | tee build.log                            # insert your number of cores in the -j argument
     make install
 {{{
     --[enable|disable]-nls       # Native Language Support (NLS), lets GCC output diagnostics in languages other than English
     --[enable|disable|-lto       # link-time optimizations
-    --[enable|disable|-multilib
+    --[enable|disable|-multilib  # in particular to build 32 and 64 bit apps
+    --with-arch=native           # sets native as the default for the -march option,
+                                 # useful if you are only compiling code for your own machine anyway
 }}}
 
 If you get compile errors un Ubuntu (at least x64 version) configure it **with** multilib (and install gcc-multilib of course).