Message-ID: <351699A8.2178989@gmx.net> Date: Mon, 23 Mar 1998 18:19:36 +0100 From: Robert Hoehne Organization: none provided MIME-Version: 1.0 To: Eli Zaretskii CC: Bob Paddock , djgpp AT delorie DOT com Subject: Re: Can't Get GCC 2.8.0 to build? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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 * * Post: Am Berg 3, D-09573 Dittmannsdorf, Germany * * WWW: http://www.tu-chemnitz.de/~sho/rho * ******************************************************