From: M DOT A DOT Bukin AT inp DOT nsk DOT su To: djgpp AT delorie DOT com Cc: Eli Zaretskii Subject: Re: Problem building c++ programs References: <36D9649A DOT 97E851B8 AT solutions2000 DOT net> Date: 01 Mar 1999 08:43:02 +0600 In-Reply-To: Nehru Juman's message of "Sun, 28 Feb 1999 10:45:30 -0500" Message-ID: <203e3q7ww9.fsf@Sky.inp.nsk.su> Lines: 22 X-Mailer: Gnus v5.5/Emacs 19.34 Reply-To: djgpp AT delorie DOT com Nehru Juman writes: > Here is detailed info regarding my problem building c++ programs with gcc: > > gcc -v -o tester.exe tester.o -lstdcxx yields the following output: > > Reading specs from C:/ASSEMB~1/RSXNTDJ/lib/specs > gcc version 2.8.1 > c:/assemb~1/djgpp/bin/ld.exe -o tester.exe c:/assemb~1/djgpp/lib/crt0.o -L. > -LC:/ > ASSEMB~1/RSXNTDJ/lib -Lc:/assemb~1/djgpp/lib -Lc:/assemb~1/djgpp/lib/gcc-lib/ > > djgpp/2.81 -Lc:/assemb~1/djgpp/bin -Lc:/assemb~1/djgpp/lib tester.o -lstdcxx > -Tdj The above line looks truncated. I think it should link libc too and linker specs are called "djgpp.something", not just "dj". Try to compare the output of `gcc -v' with the output of `gxx -v'. -- Michael Bukin