[uClibc] compiling 'gdbserver' with uclibc toolchain

Allan Clark allanc at chickenandporn.com
Wed Aug 10 08:52:50 UTC 2005


Roman Mashak wrote:

> Hello, Erik!
> You wrote to "Roman Mashak" <mrv at corecom.co.kr> on Wed, 10 Aug 2005 
> 01:30:40 -0600:
>
> EA> If you are cross compiling gdb, you must cross compile with at
> EA> least
> EA>     --host=arm-linux-uclibc
> EA>     --target=arm-linux-uclibc
> If you meant 'configure' options, then it also didn't help, I get same 
> error, By the way I invoke 'make' as follows (may be there is some 
> trick):
> #make CC=~/my_local/toolchain/bin/arm-linux-uclibc-gcc-3.4.2 
> LD=~/my_local/toolchain/bin/arm-linux-uclibc-ld 

PATH=~/my_local?toolchain/bin:$PATH ../gdb-X.y/configure 
--host=arm-linux-uclibc --target=arm-linux-uclibc  ?

#pragma +rant
Y'know, there's supposed to be some logic to the host= target= build= 
nonsense, but every single time I do it, it seems I need a different 
mixture to make it work... my RPMs of cross-compiled components look 
like I have multiple-personality disorder...
#pragma -rant

Allan



More information about the uClibc mailing list