Mail Archives: djgpp/2003/03/17/15:13:30
> "Alex Vinokur" <alexvn AT bigfoot DOT com> wrote:
> > % gpp t0.cpp -g -pg
> > c:/djgpp/bin/ld.exe: cannot find -lstdc++
> > collect2: ld returned 1 exit status
> >
> > What is wrong ?
[And _I_ wrote:]
> Use gxx, not gpp. gpp is just the preprocessor.
And
> take a quick look at the manual - it explains the
> difference between gcc, gpp, and gxx.
Oops, don't know what I was thinking - cpp is the
preprocessor, not gpp. I have no idea why gpp didn't
work, but I do know that gxx works fine. Apparently
something about the -pg option is causing a problem,
and only when you use gpp. Someone wiser than me will
have to explain what's going on. But I did give you
the solution.
Best regards, and mea culpa,
Tom
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
- Raw text -