Mail Archives: djgpp/1998/03/24/02:42:34
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 -