[Development] Using gcc to build arm version

song.7.liu at nokia.com song.7.liu at nokia.com
Mon Oct 8 07:38:05 CEST 2012


readelf -s -W libsupc++.a | grep UND, still shows:

_ZTVN10__cxxabiv120__si_class_type_infoE
_ZTVN10__cxxabiv121__vmi_class_type_infoE
_ZTVN10__cxxabiv117__class_type_infoE

Thanks,
Song

-----Original Message-----
From: development-bounces+song.7.liu=nokia.com at qt-project.org [mailto:development-bounces+song.7.liu=nokia.com at qt-project.org] On Behalf Of ext Thiago Macieira
Sent: Monday, October 08, 2012 1:24 PM
To: development at qt-project.org
Subject: Re: [Development] Using gcc to build arm version

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



More information about the Development mailing list