Mail Archives: djgpp/1998/03/17/01:25:38
Frank Blecha wrote :
>
> I'm running it with script which has:
>
> redir -o gcc.log -eo g++ -O -I../gcc/lib/gcc-lib/djgpp/2.80
> -I../gcc/include -I../gcc/lang/cxx -I../gcc/lang/cxx/std -L../gcc/lib
> stltest.cc
>
Why are you using such a complicated commandline? I assume here
that ../gcc is you directory where you have installed DJGPP.
So, if that's true, it is not needed to add all these search paths,
since are searched already by default. If not for you, than you have
installd DJGPP wrong.
> and the output is:
>
[snip]
>
> blah, blah, blah. I don't understand the undefined reference...
I tried it at home with
g++ -o t.exe t.cc
(where t.cc was your sample) and it worked OK.
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -