[uClibc] Problems building for AMD Alchemy processors.
Ned Ludd
solar at gentoo.org
Mon May 23 20:17:36 UTC 2005
On Mon, 2005-05-23 at 20:37 +0100, Charles Palmer wrote:
> Ned Ludd asked:
> >
> > No idea about most of your mail but why are you trying to link with
> > glibc?
> >
>
> Well, I'm not trying to link with glibc! Is that what is happening? If so:
>
> 1 How can you tell?
You see in your ldd output there was libc.so.6 and libc.so.0
the .so.6 is glibc while the so.0 is uClibc.
> 2 How can I link with the uclibc libraries? In the past I have
> cross-complied a kernel, Busybox and a hello world program with cross tools
> and uclibc libraries, and the make files and/or mipsel-linux-gcc
> successfully found and used the uclibc libraries without me having to do
> anything explicit. Is there something I've got to do now to specify a path
> to the uclibc libraries, or similar?
Seeing as your using the command line to compile your program chances
are you just need to make use of the -I -L flags of the toolchain.
-L/path/to/uclibc/libs -I/path/to/uclibc/includes
good luck.
--
Ned Ludd <solar at gentoo.org>
More information about the uClibc
mailing list