From: Andrew Crabtree Message-Id: <199708142311.AA188050311@typhoon.rose.hp.com> Subject: gxx ?s / 2.7.2.3 ?s To: djgpp-workers AT delorie DOT com Date: Thu, 14 Aug 1997 16:11:50 PDT Precedence: bulk try again > > ----- The following addresses had permanent fatal errors ----- > > > ----- Transcript of session follows ----- > ... while talking to delorie.com.: > >>> MAIL From: SIZE=1726 > <<< 551 ... Host typhoon.rose.hp.com doesn't exist in DNS > 554 ... Service unavailable > > Hello - > > I'm not subscribed so CC responses please. Could someone explain > how the gxx that comes in the C++ compiler works? My assumption > is that it is just a wrapper program that calls gcc. Is that > correct? The reason I ask is that I have received bug reports regarding > gxx from the latest pcg snapshots. If I add a [gxx] section to the > djgpp.env file that is the same as the one for [gcc] everything works > OK. My simple test case for the theory was 'gxx -v -c hello.c' (this > is with the [gxx] change to djgpp.env) > > with original gxx > > > cc1 .... > as -o hello.o c:\TEMP/ccaaaaaa.s > gcc.exe: -lgpp: linker input file unused since linking not done > gcc.exe: -lstdcx: linker input file unused since linking not done > gcc.exe: -lm: linker input file unused since linking not done > > > Note that cc1 was invoked to compile the .c file. > > > With 0725 pcg snapshot gxx > > > cc1plus ... > as -o hello.o C:\TEMP/ccaaaaaa.s > > > Thats it. No unused linker file messages or anything. Was gxx modified for > the DJGPP release or something? My assumption would be no since > prior to release of pgcc didn't appear to have this problem (or nobody used > c++). I'm not sure if telling people > to modify their djgpp.env is the correct thing and would appreciate any > comments. > > Also, in case anyone is interested there will be a 2.7.2.3 official fsf > release very soon. > Although primarily for linux/glibc fixes they also were accepting > general bug fixes. Since there has been a lot of questions on djgpp > list about debugging .cpp files or using -gstabs it may be worthwile > to submit that to HJ Lu and roll another 'official' DJGPP gcc release. > > Thanks > > Andrew