building a new (nios2) toolchain starting with uclibc

Mike Frysinger vapier at gentoo.org
Sun Jan 6 06:49:19 UTC 2008


On Thursday 18 October 2007, Robert P. J. Day wrote:
>   as an experiment, i want to create an updated version of a Nios II
> toolchain, and i thought i'd start with testing whether i could just
> compile the latest version of uclibc with the older toolchain, and
> take it from there.
>
>   first, i already have a nios2 cross-compiler toolchain from here:
>
> http://nioswiki.jot.com/WikiHome/OperatingSystems/%C2%B5Clinux/BinaryToolch
>ain
>
> that toolchain is based on gcc-3.4.6 so, as a first exercise, i
> thought it would be educational to see if i could cross-compile the
> latest svn checkout of uclibc with it.

there should be no problems with gcc-3.4.6 and any architecture on the uClibc 
side  of things.  there is someone on bugs.uclibc.org who has spent a lot of 
time getting nios2 things working in uClibc again.

> -rw-r--r-- 1 rpjday rpjday   5544 2006-05-07 09:57 elf2flt.ld

ah elf2flt, how i stab thee ... this will require custom modifications to your 
binutils install step

>   is this a sane way to start the process -- just to see where the
> older toolchain has problems building the current version of uclibc,
> and seeing if there's an obvious fix?  thanks.

i'm pretty sure svn trunk of uClibc actually has a decent nios2 status.  it'd 
prob be faster to go the other way -- enable everything you expect and only 
turn off upon failure.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080106/e6436d64/attachment-0002.pgp 


More information about the uClibc mailing list