Mail Archives: djgpp/1997/01/13/12:52:32
John M. Aldrich wrote:
>
> To Robert: Perhaps RHIDE could allow users to enter full library names
> and translate them?
Since RHIDE uses so called specs for (in this case) linking, it would
be possible. Currently the libraries from the libraries dialog are
are customize to a commandline with
$(addprefix -l,$(LIBS))
If I change it to
$(subst -llib,-l,$(subst .a,,$(addprefix -l,$(LIBS))))
The problem would be solved, but this has a little side effect.
If you have a library 'liblib.a' and typed in the libraries only
the 'lib' this will not work and so I think
it's not a good idea to do this, or??
BTW: You can test the above also without recompiling RHIDE. Simply
set the environment variable $(RHIDE_LIBS) to the above. Add to the
djgpp.env file:
[rhide]
RHIDE_LIBS=$(subst -llib,-l,$(subst .a,,$(addprefix -l,$(LIBS))))
BTW: The above is not tested by me but it should work. For more
information about the specs read the RHIDE doc or create a makefile
from within RHIDE and look at the beginning of the makefile, there
are defined all the variables for compiling, which are also used
by RHIDE.
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 -