Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changes between Version 8 and Version 9 of BuildInstructionsTango0.99.8

Show
Ignore:
Author:
wilsonk (IP: 68.144.184.64)
Timestamp:
03/11/10 03:15:37 (14 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructionsTango0.99.8

    v8 v9  
    2020Build the Tango user library: 
    2121 
    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: 
     22Use the build.sh script then use the following few instructions: 
    3223 
    3324{{{ 
    3930 
    4031 
    41 Now adjust your '''ldc/bin/ldc.conf''' to include '''-L-ltango-user-ldc'''. Here is an example: 
     32Now 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: 
    4233 
    4334{{{ 
    4839        "-I/home/someUserName/tango/user", 
    4940        "-I/home/someUserName/tango/lib/common", 
    50         "-I/home/someUserName/tango/tango/core/rt/compiler/ldc", 
     41        "-I/home/someUserName/tango/tango/core/vendor", 
    5142        "-L-L%%ldcbinarypath%%/../lib", 
    5243        "-L-ltango-user-ldc", 
    5344        "-d-version=Tango", 
    54         "-defaultlib=tango-user-ldc", 
    55         "-debuglib=tango-user-ldc" 
     45        "-defaultlib=tango-base-ldc", 
     46        "-debuglib=tango-base-ldc" 
    5647    ]; 
    5748}; 
Copyright © 2008, LDC Development Team.