ok, finally trying out the uclibc patch for crosstool...

Dan Strohschein dstrohschein@thewifilink.com
Sun Jun 20 16:23:00 GMT 2004

Ok changing the mipsel.dat and rerunning demo-mipsel.sh ran for a while,
then gave me:

.3-glibc-2.3.2/glibc-2.3.2/configure --host=mipsel-unknown-linux-uclibc
--prefix=/usr --build=i686-pc-linux-gnu --without-cvs
3.2/mipsel-unknown-linux-uclibc/include --enable-hacker-mode
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration
`mipsel-unknown-linux-uclibc': machine `mipsel-unknown-linux' not recognized
configure: error: /bin/sh
.3-glibc-2.3.2/glibc-2.3.2/scripts/config.sub mipsel-unknown-linux-uclibc

What else am I doing wrong?


-----Original Message-----
From: Dan Kegel [mailto:dank@kegel.com] 
Sent: Sunday, June 20, 2004 12:05 AM
To: Carl Miller
Cc: crossgcc@sources.redhat.com; Dan Strohschein
Subject: Re: ok, finally trying out the uclibc patch for crosstool...

Dan Kegel wrote:
>> Did crosstool get fired up with TARGET=mipsel-unknown-linux-gnu but with
>> LIBC_DIR=uClibc-0.9.23?
>> The linux-gnu TARGET suffix asks gcc and binutils to build assuming 
>> glibc.
>> I don't know what to expect (aside from general badness) if you configure
>> for glibc but build with uClibc.
>> Try changing the TARGET line in mipsel.dat to:
>> TARGET=mipsel-unknown-linux-uclibc
> Trying it now.

That worked much better.  It actually built a toolchain!
However, the toolchain failed the "hello, c++" test for
dynamically linked executables (though static was ok).
Here's the last couple lines of the log:

l-unknown-linux-uclibc-g++ -static hello2.cc -o
l-unknown-linux-uclibc-g++ hello2.cc -o mipsel-unknown-linux-uclibc-hello2
/lib/libstdc++.so: undefined reference to `sqrtf'
collect2: ld returned 1 exit status

which looks a bit similar to http://gcc.gnu.org/PR8197

Perhaps dstrohschein@thewifilink.com can try out this toolchain
and report whether it worked for him at all with -static...
- Dan

My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime

Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

More information about the crossgcc mailing list