This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: arm/iwmmxt VFP errors during linking


Daniel Kegel wrote:
Nick Nuziale wrote:

Also, another problem with the linking that I am having is that the standard C++ library needed by libappbase-xscale-r.so is "libstdc++.so.5" whereas the one built from the cross compiler I built is a different version (so.6 I believe) which results in some errors upon linking as shown below. I do not have the source for libappbase-xscale-r.so but I need to link with it, so essentially my standard C++ library needs to be the same as was used for libappbase-xscale-r.so. Is this just a matter of using the correct version of glibc when building my cross compiler


No.  It's a matter of using the right version of gcc.
libstdc++.so.5 is used with gcc-2.95.x, and
libstdc++.so.6 is used with gcc-3.x.

Oops. Posted too fast. Thanks to Dimitry for the correction; libstdc++.so.5 is used with gcc-3.[23].x, and libstdc++.so.6 is used with gcc-3.4.x.

So you just need to drop back to gcc-3.3.x, I guess.
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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