Changes between Version 8 and Version 9 of BuildInstructionsTango0.99.8
- Timestamp:
- 03/11/10 03:15:37 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructionsTango0.99.8
v8 v9 20 20 Build the Tango user library: 21 21 22 You should probably use the new Tango build tool called bob (unless there is no prebuilt binary for your architecture ... then you should try bob.rb with ruby, then try the build script). I have tested Tango-0.99.9 and this should build on linux just fine without any patches ... hopefully :) Of course, you can change the -o="..." options to whatever you like. 23 24 25 {{{ 26 cd ../tango 27 ./build/bin/linux64/bob -vu -r=ldc -c=ldc -o="-O3 -release" -l=../ldc/lib/libtango-user-ldc -p=linux . 28 }}} 29 30 31 If you end up needing the build.sh script then use the following few instructions: 22 Use the build.sh script then use the following few instructions: 32 23 33 24 {{{ 39 30 40 31 41 Now adjust your '''ldc/bin/ldc.conf''' to include '''-L-ltango-user-ldc'''. Here is an example:32 Now adjust your '''ldc/bin/ldc.conf''' to to something like this, if ldc fails to build a sample program with undefined references. Here is an example: 42 33 43 34 {{{ 48 39 "-I/home/someUserName/tango/user", 49 40 "-I/home/someUserName/tango/lib/common", 50 "-I/home/someUserName/tango/tango/core/ rt/compiler/ldc",41 "-I/home/someUserName/tango/tango/core/vendor", 51 42 "-L-L%%ldcbinarypath%%/../lib", 52 43 "-L-ltango-user-ldc", 53 44 "-d-version=Tango", 54 "-defaultlib=tango- user-ldc",55 "-debuglib=tango- user-ldc"45 "-defaultlib=tango-base-ldc", 46 "-debuglib=tango-base-ldc" 56 47 ]; 57 48 };