Skip to content
bioinfornatics edited this page Oct 18, 2011 · 9 revisions

Here we explain each step for build ldc as pseudo-code

  1. Build idgen
    Include: . ./dmd2 ./dmd2/root /usr/include
    Source: ./dmd2/idgen.c
    Outpout: ./dmd2/idgen.o
    Compiler: c++
    Flags: -O2 -g -pipe -Wall -Wp -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual
    Optional Flags: -m64 or -m32
    Command: Compiler Include Flags -o ./dmd2/idgen..c.o - c ./dmd2/idgen.c
    Linking: ./dmd2/idgen.c.o -o dmd2/idgen -rdynamic
  2. Build impcnvgen
    Include: . ./dmd2 ./dmd2/root /usr/include
    Source: ./dmd2/idgen.c
    Outpout: ./dmd2/impcnvtab.c ./dmd2/impcnvgen.c.o
    Compiler: c++
    Flags: -O2 -g -pipe -Wall -Wp -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual
    Optional Flags: -m64 or -m32
    Command: Compiler Include Flags -o ./dmd2/impcnvgen.c.o - c ./dmd2/impcnvtab.c
    Linking: ./dmd2/idgen.c.o -o dmd2/idgen -rdynamic
  3. Build ldc2
  4. Build runtime
  5. Build standard library
Clone this wiki locally