www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/28/21:59:19

From: M DOT A DOT Bukin AT inp DOT nsk DOT su
To: djgpp AT delorie DOT com
Cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject: Re: Problem building c++ programs
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990228143434 DOT 5950Z-100000 AT is> <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 <shadowcaster AT solutions2000 DOT net> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019