Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gcc] Thumb Interworking


  • To: "Nathan Sidwell" <nathan@xxxxxxxxxxxxxxxx>
  • Subject: Re: [arm-gcc] Thumb Interworking
  • From: "Rushikesh Shingnapurkar" <rushikeshs@xxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 24 Jun 2005 19:27:29 +0530

----- Original Message -----
From: "Nathan Sidwell" <nathan@xxxxxxxxxxxxxxxx>
To: "Rushikesh Shingnapurkar" <rushikeshs@xxxxxxxxxxxxxxxxxxx>
Cc: <arm-gcc@xxxxxxxxxxxxxxxx>
Sent: Friday, June 24, 2005 6:10 PM
Subject: Re: [arm-gcc] Thumb Interworking
----------------------------------------------------------------------------
> It looks like you're using a bespoke linker script and invoking the linker
> explicitly.  Am I correct in guessing that the error remains, even when
the
> -mthumb only object file is not being linked in?
----------------------------------------------------------------------------

Yes, even though I donot use the -mthumb option and just
use -mthumb-interwork, I do get the same Warning !!


----------------------------------------------------------------------------
> How are you setting up the library search paths?  In particular, it seems
that
> you are not pointing to the interworking libraries.  GCC does this
automatically
> when you use gcc to link.  Perhaps you can use the -v option to gcc to see
how
> it drives the linker in situations similar to your own -- the link command
will,
> confusingly, be a tool call 'collect2'.
----------------------------------------------------------------------------

In the linker script I tried to set paths by,
SEARCH_DIR("C:\ToolChain\arm-none-elf\lib\thumb")

which linked the libc.a file from thumb folder, but I got warning saying
libc.a is also not enabled with interworking!!

This is what i got with the command:

D:\>arm-none-elf-gcc -v
Reading specs from c:/toolchain/bin/../lib/gcc/arm-none-elf/3.4.0/specs
Configured with:
/home/mitchell/dev/arm/gcc/configure --prefix=/home/mitchell/de
v/arm/install/i686-mingw32/arm-none-elf --target=arm-none-elf --with-newlib 
--en
able-languages=c,c++ --build=i686-pc-linux-gnu --host=i686-mingw32
Thread model: single
gcc version 3.4.0 20031230 (CodeSourcery ARM Q4 2003)

What should I check next ?

-Rushikesh