Mail Archives: djgpp/1997/03/19/11:38:12
Eyal Ben-David wrote:
>
> Sometimes the program needs '-lstdcx' but it isn't there unless this library
> is added by "OPTIONS | LIBRARY" menu.
And I think this should be the normal way to add an additional library.
> How can I configure RHIDE to include '-lstdcx' automatically (or maybe
> to invoke g++ instead) ?
Both is possible. To add "-lstdcx" automatically when RHIDE adds
"-liostr"
add the following line to you djgpp.env file in the [rhide] section:
RHIDE_LIBS=$(addprefix -l,$(subst iostr,iostr stdcx,$(LIBS)))
and for setting gxx (not g++) as default when linking (but then
it is used also when linking not C++ programs !!!) add the following
line:
RHIDE_LD=gxx
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -