delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/17/01:25:38

Message-ID: <350DAC27.437CAA0B@gmx.net>
Date: Mon, 16 Mar 1998 23:48:07 +0100
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Organization: none provided
MIME-Version: 1.0
To: Frank Blecha <fb3 AT ksu DOT edu>
CC: DJGPP Mailing list <djgpp AT delorie DOT com>
Subject: Re: g++ install problem
References: <Pine DOT SOL DOT 3 DOT 96L DOT 980314172449 DOT 26173A-100000 AT fox DOT ksu DOT ksu DOT edu>

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 -


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