[okl4-developer] building 1.5.2

Nelson Tam nelson at ok-labs.com
Mon Mar 31 21:03:36 EST 2008


Hi Benito,

On 31/03/2008, at 2:57 AM, benito maldonado wrote:
>
> I am trying to build the 1.5.2 release, like this (for ia32):
>
> tools/build.py machine=ia32_pc99 project=iguana
>
> and I get:
>
> sh: i686-unknown-linux-gnu-gcc: command not found
> scons: *** [build/pistachio/object/pistachio/tcb_layout.s] Error 127
>
> So I go toolprefix='', for it to use gcc clean command:
>
> tools/build.py machine=ia32_pc99 project=iguana toolprefix=''
>
> and I get:
>
> [LINK] build/pistachio/bin/l4kernel
> usage: elfadorn [options] -- <linker> [linker_options]
> elfadorn: error: no such option: --ld
> scons: *** [build/pistachio/bin/l4kernel] Error 2
>


Although you could use the precompiled image distributed on the list  
recently, if you make modifications to the code you'll need to fix the  
tools somehow.

My suggestion is that you download the tools at

   https://www.ertos.nicta.com.au/downloads/i686-gcc-3.3.4-glibc-2.3.3-2006-06-02.tar.gz

and install that somewhere in your $PATH.  Then, don't use the  
toolprefix='' option.  Can you see whether that works for you?

The --ld problem that you see has also been documented recently,  
unfortunately I don't have access to the archives at the moment to  
give you a precise link...
--
(nt)

Nelson Tam




More information about the Developer mailing list