1 Jun 2009 07:37
Re: Instructions for compiling uClibc?
Hi Chris, On Sat, May 30, 2009 at 5:12 PM, Chris Ziomkowski <cziom@...> wrote: > I am attempting to use petalinux-v0.30-rc1 in a project. I have been working > on it for several months, and .40 was not available at the time. Upgrading > would not be practical at the moment, so if you can reference the .30 > release in any response that would be ideal. Are you using the 2.6 or 2.4 kernel? > My current problem is that libc.a is not properly synchronized with the > kernel system calls. When I do an ls from busybox, I see all the file > attributes returned as zero. When I place traps in the kernel, I can see the > attributes are being properly returned. Hmmm, very strange. > When I attempted to start debugging uClibc to figure out what was going on, > I realized that the code is actually using a precompiled libc.a from the > toolchain. The source for uClibc is included in the distribution, but there > are no make rules to actually recompile it. > Can someone suggest the steps I need to take to recompile uClibc? Has anyone > actually successfully done this for microblaze ? At the beginning of this > project I did try and get the entire gcc toolchain to recompile from source, > until I found out that gcc-4.3 won't actually build the cross compiler. At > that point, I gave up and downloaded the precompiled binary. Apparently this > already had libc.a and I didn't realize until now that uClibc was never > built.(Continue reading)
RSS Feed