www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/09/14:44:56

Message-Id: <199801091940.GAA17804@mona.lexicon.net.au>
From: "John Machin" <sjmachin AT lexicon DOT net DOT au>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp AT delorie DOT com
Date: Sat, 10 Jan 1998 06:37:41 +1000
MIME-Version: 1.0
Subject: Re: Book "Practical C++ Programming" / examples / DJGPP format
References: <199801042040 DOT HAA23345 AT mona DOT lexicon DOT net DOT au>
In-reply-to: <Pine.SUN.3.91.980105104349.14443C-100000@is>

On  5 Jan 98 at 10:44, Eli Zaretskii wrote:

> 
> On Mon, 5 Jan 1998, John Machin wrote:
> 

> > Here's the (very minor) FAQ bug:
> > 
> > > The Standard C++ Template classes are in `libstdcx.a' (it's called 
> > > `libstdc++.a' on Unix); append `-lstdcxx.'
> >                                          ^
> 
> That's not a bug, that's a feature ;-).
> 
> Seriously, though, the names libstdc++.a and libstdcxx.a exceed the
> DOS 8+3 limits.  When gcc sees -lstdcxx it generates the name
> libstdcxx.a and instructs the linker to look for it.  DOS silently
> truncates that name into libstdcx.a, and everything works.

Thanks. I should have realised that.

I must have had a typo somewhere --- I thought I'd typed 
	gcc ..... -lstdcxx
and the linker didn't find some references; that's why I was reading
the fine print in the FAQ and then found that -lstdcx did work.

Sorry to have bothered you; at least I did RTFFAQ first!

Regards,
 
John Machin
1/27 Auburn Grove
Hawthorn East, VIC 3123, Australia
Phone: +61-3-98130561

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019