forked from ldc-developers/ldc
-
Notifications
You must be signed in to change notification settings - Fork 0
Build process
bioinfornatics edited this page Oct 18, 2011
·
9 revisions
Here we explain each step for build ldc as pseudo-code
- 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 - 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 - Build ldc2
- Build runtime
- Build standard library