delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/02:42:34

Message-ID: <351699A8.2178989@gmx.net>
Date: Mon, 23 Mar 1998 18:19:36 +0100
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Organization: none provided
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: Bob Paddock <bpaddock AT csonline DOT net>, djgpp AT delorie DOT com
Subject: Re: Can't Get GCC 2.8.0 to build?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980323132438 DOT 1968L-100000 AT is>

Eli Zaretskii wrote :
> 
> If $DJGPP is indeed defined, this might be some problem in the
> installation procedure.  Robert, can it be that "make install" uses
> '$DJDIR' instead of "$DJDIR"?  Otherwise, I don't understand it: both
> Make and Bash should have $DJDIR defined when they run.

The problem here is the trick I used when configuring
gcc. I call the configure script with

configure ... --prefix=\\\$\$DJDIR ...

to have then in the Makefile

prefix = \$$DJDIR

and then, when for instance gcc.c or cccp.c are compiled, they
get as arguments for the default directories the string $DJDIR
and not the expanded variable $DJDIR. This was for me the best
way to have the $DJDIR variable hardcoded in the executables
without modifying the sources and/or the Makefile but of course
in case of using the $(prefix) variable inside the Makefile
it will fail.

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