--- Quote Start ---
originally posted by therrien+may 9 2006, 10:05 pm--><div class='quotetop'>quote (therrien @ may 9 2006, 10:05 pm)</div>
--- quote start ---
<!--quotebegin-hippo@May 2 2006, 11:03 AM
welcome.
vapier, one of the developer of buildroot/uclibc/busybox, also develope gentoo linux.
he had helped a lot to port nios2. so it should work with gentoo.
but the configuration setting may be tricky and some latest update may break nios2.
so you might follow my buildroot guide, and take the build script and patches as a starting point.
http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)
happy hacking.
hippo
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14948)
--- quote end ---
--- Quote End ---
Hi, Hippo.
Thanks very much for the information, it's been useful thus far.
Unfortunately, though, the snapshots your example build pick up are no longer visible on the websites...the oldest snapshot found there now is 20060409, and your script wants to download 20060320.
I tried using 20060409 with your build script, but it looks like the patches are not 100% compatible (I run into the "rope" C++ build problem; I patched that, then ran into other problems later on, so gave up, pegging the failures to incompatible patches).
One other note (though not a big deal): your build script seems to assume that "sh" or "bash" is being used as the shell...I run tcsh, and so I had to alter your instructions slightly...perhaps, next time you edit the notes, you could either alter the script, or put in a note, something like this:
- if you use bash/sh, you can simply type "./build"
- if you use any other shell (e.g. csh/tcsh), use "bash -c ./build"
Are you planning to prepare a build with a newer snapshot?
Also, for all the patches you provide in the build zip file, is there a plan for these to (eventually) make their way into the buildroot/busybox/etc. repositories?
Thanks again,
-- therrien
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15224)</div>
[/b]
--- Quote End ---
Thank you for the kindly suggestions. That would be very helpful.
The rope index issue of c++ was resovled by hootsmon, posted to buildroot and updated in the later snapshots. Thanks a lot to him.
For the latest buildroot snapshots, I will try them and let you know.
I shall add bash at the first line of the build script. And I am going to divide the build script in to parts, so that they may be easier to read and use. I am also working on the coming nios wiki, hope it will be more readable, too.
I have a binary tools from buildroot. You might try out, at
http://forum.niosforum.com/forum/index.php?showtopic=3879 (
http://forum.niosforum.com/forum/index.php?showtopic=3879)
I need more people to join the work to clean up the patches and post them to buildroot/uclibc/busybox. namely,
1. svn13898 break the gcc for nios2, there are some undefined mul/div calls in compiled objects. I have reversed the patches in build script. But we still need to find out, and fix it.
2. svn13961 break the elf2flt.ld with fini data. The elf2flt.ld was a reduced link script, and failed because it does not contain fini data. I rebuild it from normal link script. We have used it for months. maybe it is time to post the new elf2flt.ld to vapier, and he should post it to
uclinux.org .
3. a minor problem of do strip to busybox, we can not strip an FLAT obj. There is a new flag for flat in latest busybox Makefile, we need to find out the usage.