Commits

trass3r committed f849c91

add more checks

Comments (0)

Files changed (1)

 Unpack the archives in the gdc/dev dir.  This creates something like gdc/dev/gcc-4.6.1.
 Run these commands: 
 {{{
-    cd gdc/dev/gcc-4.6.1
+    cd gdc/dev/gcc-4.6.2
     ln -s ../../../d gcc/d
     ./gcc/d/setup-gcc.sh -v2
     mkdir objdir
     ../configure --enable-languages=d --disable-bootstrap \
         --disable-shared --disable-nls --prefix=/opt/gdc \
         --with-bugurl="https://bitbucket.org/goshawk/gdc/issues" \
-        --enable-checking=release
+        --enable-checking=assert,runtime,misc,tree,gimple,types,rtlflag
     make -j2 2>&1 | tee build.log                            # insert your number of cores in the -j argument
     make install
     export PATH=/opt/gdc/bin/:$PATH                          # temporarily override system default gcc
 }}}
 
-This will configure for a GDC D2 build. If you want D1, just remove the **-v2** from the **./gcc/d/setup-gcc.sh** command. If you compile for release drop --disable-bootstrap.
+This will configure for a GDC D2 build. If you want D1, just remove the **-v2** from the **./gcc/d/setup-gcc.sh** command. If you want to compile a release version drop --disable-bootstrap and use --enable-checking=release.
 
 Other configure arguments you might want to use:
 {{{