Changes between Initial Version and Version 1 of BuildNomDarwin


Ignore:
Timestamp:
Apr 13, 2008, 4:38:08 PM (16 years ago)
Author:
cinc
Comment:

Started compilation instruction for Darwin

Legend:

Unmodified
Added
Removed
Modified
  • BuildNomDarwin

    v1 v1  
     1= Building NOM on Darwin aka OS X =
     2
     3'''Note: you need an Intel machine to build and run NOM.'''
     4
     5It's unlikely this will change in the future.
     6
     7This is a first draft.
     8
     9If you have problems visit the #netlabs channel on the [http://www.ecomstation.com/community.phtml?url=nls/en/content/ircnetwork.html&title=eComStation%20IRC%20Network%20Explained eCS IRC network] and try to catch Cinc.
     10
     11
     12== Prerequisites ==
     13
     14Macports ([http://www.macports.org]) has to be installed to get the necessary libraries. Download the dmg for your OS release and run the included installer. You have to supply an administrator password during installation.
     15
     16The installer is supposed to add the necessary directories to your path environment variable. At least on my system this failed, maybe because I don't have any '''.profile''' file but use '''.bashrc''' and '''bash_profile'''. Try ''man port'' in a new terminal window (make sure the terminal app was not yet running). If this fails you have to add the necessary info by hand. See the  Macports page for further info.
     17
     18 * Update your Macports installation by typing ''sudo port selfupdate'' in the terminal.
     19 * Install GLib2 by typing ''sudo port install glib2''.
     20
     21
     22== Compiling It ==
     23
     24
     25=== Garbage Collector ===
     26
     27NOM uses garbage collected memory only. Go to [http://www.hpl.hp.com/personal/Hans_Boehm/gc/index.html] if you want to learn more about the GC. The GC will be statically linked to the NOM runtime.
     28
     29
     30=== IDL Compiler ===
     31
     32After successfully building the compiler you should have a bin directory holding the executable (''nom-idl-compiler'').
     33
     34 /source_base/bin
     35
     36
     37=== NOM Kernel and Runtime ===
     38
     39Nothing yet
     40
     41=== Test program ===
     42
     43The resulting executable ''nom-test.exe'' can be found in ''/source_base/bin''.
     44
     45Running it shouldn't show any errors.