This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to cross-compile gdb for arm?


hi,

You may refer to the following post, which has a build script.

http://gcc.gnu.org/ml/gcc/2003-10/msg01339.html

Thanks,
Neo

yang xiaoli wrote:

> I'll corss-compile gdb for arm board, will use gdb to debug on arm board.
> I use gdb6.0 or gdb6.3 and configure with:
> CC=arm-linux-gcc ../gdb-6.3/configure --target=arm-linux \
> --build=arm-linux --host=arm-linux
>
> and has error when make:
> checking whether make sets $(MAKE)... (cached) yes
> checking for arm-linux-gcc ...(cached) arm-linux-gcc
> checking for c Compiler default output in a.out
> checking whether the c compiler makes in
> configure:error: cannot run c compiled programs
>
> if you meant to cross compile usr "--host"
> see 'config.log' for more details
>
> I don't know how to do with it ,something wrong?
>
> _________________________________________________________________
> 免费下载 MSN Explorer: http://explorer.msn.com/lccn 


-- 
I would remember that if researchers were not ambitions
probably today we haven't the technology we are using!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]