Re: [arm-gnu] lgcc option for linker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] lgcc option for linker



The option is actually -l plus an argument: gcc. -lgcc tells the linker to 
include a library named libgcc.{a, so}.

This is almost certainly not a problem with the GNU toolchain; it's much 
more likely that it's a problem with the way you (or your build system) 
invokes the tools.






"David Alvarez" <david.alvarez@xxxxxxxx> 
14/03/2008 10:15

To
<arm-gnu@xxxxxxxxxxxxxxxx>
cc

Subject
[arm-gnu] lgcc option for linker






Hi,
I am trying to link a program for symbian. I am using Carbide 1.3, UIQ 3 
and latest version of arm-none-symbian-elf. I can compile but I cannot 
link.
There is an option it cannot found -lgcc. As far as I have heard the 
better will be to use the arm-none-symbian-elf version prepared for UIQ, 
not the last one, but I am reluctant to install for the third time the 
compiler.
Anyway: Is option -lgcc available in 2005 version and not in 2007?. Maybe 
this is the reason why it does not link. If option -lgcc is not any longer 
available what is its substitute?
Thanks in advance.
 
David Alvarez
 


**********************************************************************
 Symbian Software Ltd is a company registered in England and Wales
with registered number 4190020 and registered office at 2-6
Boundary Row, Southwark, London,  SE1 8HP, UK. This message is
intended only for use by the named addressee and may contain
privileged and/or confidential information. If you are not the
named addressee you should not disseminate, copy or take any action
in reliance on it. If you have received this message in error
please notify postmaster@xxxxxxxxxxx and delete the message and any
attachments accompanying it immediately. Neither Symbian nor any of
its Affiliates accepts liability for any corruption, interception,
amendment, tampering or viruses occurring to this message in
transit or for any message sent by its employees which is not in
compliance with Symbian corporate policy.
**********************************************************************