On (15/12/08 21:57), Dan E wrote: > Hello uClibc list, this is my first post to the list but I've been > lurking and working with uClibc for about 5 years. > > In regards to Carmelo's post here: > http://www.uclibc.org/lists/uclibc/2008-December/020792.html > > I retrieved svn commit version 24377 and am trying to build uClibc with > NPTL for a MIPS32 LE system. I use a modified buildroot system and a > cross-compiling toolchain. Mindful of the many posts here that are not > uClibc problems per se, I will try to keep my posts focused on uClibc > issues only. Nevertheless, I think it goes without saying that most > people using uClibc do so in some sort of buildroot fashion with uClibc > forming an integral part of a cross-compiling toolchain. > > Regarding my MIPS32 little-endian build of uClibc NPTL svn 24377... > > I needed to comment out the following line in the top-level Rules.mak > file at line 504: > CFLAGS += $(call check_gcc,-std=gnu99,)
Thats because of the your toolchain build sequence. You should build a bare minimal cross compiler before really building uclibc headers. > > because in the preparation stage of building my toolchain where I am > setting up to build the stage1 compiler, there is no cross-compiler yet > to do that. Commenting out that line allows the "make headers_install" > step to successfully complete. > > I also had to patch several dozen instances of "static inline foo() I think because you did comment out the above check in Rules.mak thats why you are seeing these errors. -Khem _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
