FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 01-17-2008, 06:31 PM
Jean-Claude Gervais
 
Default STL, gcc-3.x vs gcc-4.x

Hello,

This may not be the appropriate forum for my question but I expect many
of you may have struggled with the same problem:

I have some c++ code that uses (some of) the Standard Template Library
that I am trying to get compiled on an ARM embedded platform.

The code, specifically the class in question is basically derived from
the STL vector class. It is very simple.

But it appears that gcc 3.x can't compile it because some types are
missing. Is this correct? Does anyone out there have any knowledge of
this?

I tried compiling gcc 4.x instead but I am getting vfp-inconsistency
errors between uclibc and gcc, so no luck there.

Any ideas?

Thanks



--
gentoo-embedded@lists.gentoo.org mailing list
 
Old 01-17-2008, 07:05 PM
Karl Hiramoto
 
Default STL, gcc-3.x vs gcc-4.x

Jean-Claude Gervais wrote:

Hello,

This may not be the appropriate forum for my question but I expect many
of you may have struggled with the same problem:

I have some c++ code that uses (some of) the Standard Template Library
that I am trying to get compiled on an ARM embedded platform.

The code, specifically the class in question is basically derived from
the STL vector class. It is very simple.

But it appears that gcc 3.x can't compile it because some types are
missing. Is this correct? Does anyone out there have any knowledge of
this?

I tried compiling gcc 4.x instead but I am getting vfp-inconsistency
errors between uclibc and gcc, so no luck there.

Any ideas?

Thanks



Are you using uclibc or glibc? uclibc does not have c++ libs. there
is uclibc++ though. http://cxx.uclibc.org/


I have used uclibc++ for some basic stuff and seems to work.

-- karl



--
gentoo-embedded@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org