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: Missing iostreams in powerpc-eabi


Am Fre, 2002-04-26 um 14.36 schrieb William A. Gatliff:
> Ralf:
> 
> 
> Hmmm... why is that?
Good question - It is the answer the g++/libstdc++ folks typically give
in reply to this kind of question ;)

> On Fri, Apr 26, 2002 at 11:17:50AM +0200, Ralf Corsepius wrote:
> > Am Don, 2002-04-25 um 19.44 schrieb William A. Gatliff:
> > > Daniel:
> > > 
> > > 
> > > Add a -lstdc++ to your gcc command line.
> > This is not quite correct. You should use "g++" instead of "gcc" and
> > never explicitly specifiy -lstdc++.
AFAIK, this is recommended since the merger of libstdc++v3 and gcc,
because g++/libstdc++ might require other target/configuration specific
libs and therefore avoids users having to care about them.

However, I don't know if using g++ instead of gcc has been made
mandatory or not with gcc >= 3, but I would assume so.

Ralf




------
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]