[okl4-developer] building 1.5.2

Jorge Torres jorge.torres.maldonado at gmail.com
Tue Apr 1 06:26:38 EST 2008


Benito,

For some reason that I dont know, it builds fine with the prebuilt gcc they
mention on the 1.5.2 README file (you should try that), but true, there is
no --ld option for the elfdorn, you can see it on tools/pyelf/adorn/main.py

What I can tell is why if one builds it with the gcc they provide it does
not send this argument to the elfadorn, but it does with the "native" gcc i
have on my system, does somebudy knows why?

Cheers,

Jorge



On Mon, Mar 31, 2008 at 4:22 AM, Antonin SUBTIL <antonin.subtil at gmail.com>
wrote:

> Hi,
>
> I had the same problems.
>
> First I've put toolprefix=''", then I had your --ld, then some others....
> So I used the provided compiled elf image for ia32_pc99 (with wombat). You
> will find the image in this month's mails.
>
>
> Otherwise, for --ld, in tools/toolchain.py, there's a link to change :
> self.dict["LINKCOM"] = "£ELFADORN -o £TARGET $ELFADORN_FLAGS -- ld
> $_LINK_COM_FLAGS $LINK_PLAT_FLAGS $_LINKADDRESS $_LINKSCRIPTS $LINKFLAGS
> $CRTOBJECT $ SOURCES $_LIBFLAGS -o $TARGET" or something like that (have a
> look for the right stuff in the ML)
> If you have warning turning into errors afeter, you'll probably need to do
> one other change in toolchain.py : with all the C_WARNINGS or CXX_WARNINGS
> or similar, just delete "error" stuff. (just put # in front of the error,
> not the whole line).
> Then I had some problems wsith KIP memory descriptors, 11 instead of 0
> expected ... Wasn't able to solve this one, I took the given-image.
>
> BR
>
> Antonin
>
>
> 2008/3/30, benito maldonado <benitto.maldonado at gmail.com>:
> >
> > Hi,
> >
> >
> > 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
> >
> >
> > And there I have no clue, do you know what am I doing wrong?
> >
> > Thank you
> > _______________________________________________
> > Developer mailing list
> > Developer at okl4.org
> > https://lists.okl4.org/mailman/listinfo/developer
> >
> >
>
>
> --
> Antonin Subtil,
> 35 rue Donissan
> FR-33000 Bordeaux
> +33 (0)6.77.40.17.69
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080331/13fcf554/attachment-0001.htm 


More information about the Developer mailing list