Mail Archives: djgpp/2003/03/18/12:28:22
--- Eli Zaretskii wrote:
> > cpp is the
> > preprocessor, not gpp. I have no idea why gpp
> > didn't
> > work, but I do know that gxx works fine.
>
> Probably because of a bug in the ported gpp, which
> only shows up when
> linking with -pg (it should look for -lstdcxx, not
> -lstdc++). You
> could work around this by using "gcc" and manually
> adding C++
> libraries on the link command line.
Thanks, Eli - I thought it was something like that.
But that leaves open the question of what the
difference is between gxx.exe and gpp.exe. I had
understood - mistakenly, I guess - that they were
equivalent. But the OP's example shows this is not
the case - adding the -pg command line argument causes
a diagnostic with gpp.exe, but not gxx.exe. And when
I look in my bin directory, gxx.exe has a
last-modified date of 12/24/2001 and a size of 81K,
while gpp.exe has a last-modified date of 11/27/2002
and a size of 160K. So they are clearly not the same.
Is gxx.exe an artifact of an earlier version of djgpp
that never got updated? Or is there a more basic
difference between the gpp.exe and gxx.exe that I
should be aware of? (I'm using gcc version 3.21, and
did a new clean install of the latest versions of
everything in djgpp in December after deleting my
then-existing install in its entirety.)
Can someone enlighten me?
Best regards,
Tom
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
- Raw text -