Commits

trass3r committed 3fd8c8f

+ make install-strip

Comments (0)

Files changed (1)

         --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
+    export PATH=$PATH:/opt/gdc/bin
 }}}
 
-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.
+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:
 {{{
 
 The **make** command will perform the build.
 **make install** will install the compiled GDC.
+Use **make install-strip** to automatically strip symbols from the huge executables.
 
 Since prefix is set to /opt/gdc you will install GDC there so it will not mess up with the installed GCC. Go in /opt/gdc/bin to find the GDC executable.