Mail Archives: djgpp/1998/01/09/14:44:56
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 -