[Development] Using gcc to build arm version

Thiago Macieira thiago.macieira at intel.com
Mon Oct 8 07:23:57 CEST 2012


On segunda-feira, 8 de outubro de 2012 15.18.10, Lincoln Ramsay wrote:
> On 08/10/12 15:09, song.7.liu at nokia.com wrote:
> > collect2 (4.4.1) is used to link.
> 
> If you're linking something that includes C++ you should really use g++
> as the linker.
> 
> If you're going to invoke ld directly, you need to ensure the
> appropriate flags are set so it includes the C++ runtime.
> 
> Apparently the library you want is libsupc++.a and it'll be somewhere in
> your toolchain/sysroot directory.

libsupc++.a is included in libstdc++.so, which comes with most GCC 
installations.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121007/dd0ded3c/attachment.sig>


More information about the Development mailing list