[uClibc]Problem compiling libstcd++
Henri van Riel
uclibc at vanriel.xs4all.nl
Sun May 4 11:19:10 UTC 2003
Hello Erik,
Sunday, May 4, 2003, 1:41:19 AM, you wrote:
EA> On Sat May 03, 2003 at 09:28:32PM +0200, Henri van Riel wrote:
>> Hello,
>>
>> I need to compile libstdc++ against uclibc-0.9.15 but I'm unsuccesful.
>> I've downloaded gcc-3.2.2 and I try to build the lib from there using
>> the uClibc wrapper. The compiler exits with:
>>
EA> I can't speak much for uClibc-0.9.15 at the moment -- that was a
EA> while back and I'm having trouble enough remembering what code
EA> looked like just 2 weeks ago. I can say that I have build
EA> libstdc++ using gcc 3.2.2 and gcc 3.2.3 and gcc 3.2.1 and gcc
EA> 2.95 about a week ago.
EA> http://www.uclibc.org/cgi-bin/cvsweb/toolchain/
EA> This is how I built such a toolchain and it worked for me.
I've tried this a few times (earlier) but I never got it to compile. I
do as it says in the README:
I grab the toolchain, edit the Makefile in gcc-3.2 and run make.
gcc-3.2 gets downloaded, untared and configurated. The compiler
complains here and there (lots of warnings about string
concatenations) and finally exits with:
ar rc libiberty.a \
regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o mkstemps.o
/usr/src/toolchain/gcc-3.2/toolchain/bin/i386-uclibc-ranlib libiberty.a
make[2]: /usr/src/toolchain/gcc-3.2/toolchain/bin/i386-uclibc-ranlib: Command not found
make[2]: *** [libiberty.a] Error 127
make[2]: Leaving directory `/usr/src/toolchain/gcc-3.2/build/gcc-final/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/usr/src/toolchain/gcc-3.2/build/gcc-final'
make: *** [/usr/src/toolchain/gcc-3.2/build/gcc-final/.compiled] Error 2
Why can't I build this toolchain? Obviously i386-uclibc-ranlib isn't
in /usr/src/toolchain/gcc-3.2/toolchain/bin. Should it be there?
Should it be build there all by itself? Am I making this toolchain
from the wrong dir? Should I change my PATH or should I set certain
environment variables?
I have no clue what I'm doing wrong :(
--
Best regards,
Henri mailto:uclibc at vanriel.xs4all.nl
More information about the uClibc
mailing list