Technology
 

Compile

From Ace OS Wiki

[edit] ELF Format

Ace uses ELF object format. ELF is chosen over PE format because lot of gnu tools supports ELF well over PE. So to compile Ace, the gcc compiler should be configured to output elf objects. Linux is by default supports elf format. But in Windows host environment(cygwin), a cross gcc has to be created. See [Development Environment] article for details about creating cross compiler.

[edit] Compile

Ace make files are written such way that it requires a environment variable (ACE_ROOT) to be set to the source root directory. After setting and exporting ACE_ROOT variable go to src directory and type "make all".

Example setting in /etc/profile for cygwin environment.

   export ACE_ROOT="`cygpath -u -a e:/Ace3`"
   export PATH=/usr/cross/i586-elf/bin/:$ACE_ROOT/img:$PATH:
   cd $ACE_ROOT