Changes between Version 2 and Version 3 of BuildNomDarwin


Ignore:
Timestamp:
Apr 19, 2008, 2:59:04 PM (17 years ago)
Author:
cinc
Comment:

Instructions for compiling on Darwin

Legend:

Unmodified
Added
Removed
Modified
  • BuildNomDarwin

    v2 v3  
    4545== Compiling It ==
    4646
     47Make sure you have setup the environment by running '''kBuild/env.sh'''.
     48
     49Cd into the root of NOM, the '''trunk''' directory.
     50
     51Run
     52
     53  {{{
     54     ./kmk
     55  }}}
     56
     57Compilation should succeed without errors.
     58
     59=== Compile a debug build ===
     60
     61Set the following environment variable to create a debug build:
     62
     63  {{{
     64      BUILD_TYPE=debug
     65  }}}
     66
     67=== Compile a release build ===
     68
     69Set the following environment variable to create a debug build:
     70
     71  {{{
     72      BUILD_TYPE=release
     73  }}}
     74
     75Note that release builds are default.
     76
     77The output can be found here:
     78
     79  ''out/$(BUILD_TARGET).$(BUILD_TARGET_ARCH)/$(BUILD_TYPE)/kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/''.
     80
     81
     82== Misc information ==
    4783
    4884=== Garbage Collector ===
     
    5389=== IDL Compiler ===
    5490
    55 After successfully building the compiler you should have a bin directory holding the executable (''nom-idl-compiler'').
    56 
    57  /source_base/bin
     91The IDL compiler used for the object system is named ''nom-idl-compiler''.
    5892
    5993
    6094=== NOM Kernel and Runtime ===
    6195
    62 Nothing yet
     96No further info.
     97
    6398
    6499=== Test program ===
    65100
    66 The resulting executable ''nom-test.exe'' can be found in ''/source_base/bin''.
     101The executable ''nom-test'' performs some basic tests of the object system.
    67102
    68103Running it shouldn't show any errors.