[uClibc] compiling 'gdbserver' with uclibc toolchain

Erik Andersen andersen at codepoet.org
Wed Aug 10 07:30:40 UTC 2005


On Wed Aug 10, 2005 at 03:56:49PM +0900, Roman Mashak wrote:
> Hello, Manuel!
> You wrote to "Roman Mashak" <mrv at corecom.co.kr> on Tue, 9 Aug 2005 
> 09:15:53 -0600:
> 
> MNI> On Tue, Aug 09, 2005 at 09:06:34PM +0900, Roman Mashak wrote:
> ??>> Hello!
> ??>>
> ??>> Tried to compile gdbserver-6.3 fro ARM target and failed. I'm using
> ??>> uClibc-0.9.15
> MNI>   ^^^^^^^^^^^^^
> 
> MNI> Stopped reading at this point.
> I upgraded to 0.9.27, but the error is same. What else is wrong?

> I followed these steps:
> 1) cd $GDB_SRC/gdbserver
> 2) ./configure --target=arm-linux
> 3) make CC=${CROSS_COMPILE}gcc LD=${CROSS_COMPILE}ld

If you are cross compiling gdb, you must cross compile with at
least
    --host=arm-linux-uclibc
    --target=arm-linux-uclibc

You appear to be using --target=arm-linux, which will never work

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list