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: gdb cross compilation, error from gdb/tui module


On Thursday 28 October 2010 12:56:57, paawan oza wrote:

> and I have cross compiled it with tool chain at following location
> http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^

> This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
                                                                ^^^^^^^

> warning: A handler for the OS ABI "GNU/Linux" is not built into this 

...

> any idea how to get the arm binaries correctly getting worked under arm 
> simulator ?

I suppose you'll get better results with a compiler that matches
your target...

Try building gdb with --target=arm-eabi, and to use the arm-eabi compiler,
not the arm-linux-gnueabi compiler.

-- 
Pedro Alves


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