[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Instructions for compiling uClibc?



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.

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.

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.

Can someone suggest a minimal procedure to rebuild uClibc under the petalinux environment? I did check the archives but didn't find anything, so I apologize if this has previously been asked and answered somewhere else.

Thank you for any assistance,

Chris

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/