Mail Archives: djgpp-workers/1998/11/01/13:59:36
The gxx that comes with djdev links libstdcx.a (short names!).
Since we're using gcc 2.8.1 or better now, should we stop distributing
this gxx file?
------- Start of forwarded message -------
Return-Path: <merser AT image DOT dk>
From: "merser" <merser AT image DOT dk>
To: "DJ Delorie" <dj AT delorie DOT com>
Subject: Re: djdev202
Date: Sun, 1 Nov 1998 12:52:03 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
>> gcc foo.cc -lstdcxx links proberly where as
>>
>> gxx foo.cc -lstdcxx doesn't (cannot open -lstdcx)
>>
>> Can I somehow prevent 'gxx' from using libstdcx.a ?
>
>Sure - just use gcc instead. gxx just calls gcc with -lstdcxx. Have
>you tried g++ instead of gxx?
to me it looks as gxx and g++ somhow calls gcc with -lstdcx - one x - and
not as you say -lstdcxx.
calling
g++ or gxx (without arguments)
gxx foo.cc -lstdcxx
g++ foo.cc -lstdcxx
all end up with the errror message cannot open -lstdcx
This beats my intelligibility, but anyway, now I know how to compile from
the command prompt and how to change my makefiles.
thank you for your patient help
kind regards
- -soren
------- End of forwarded message -------
- Raw text -