[Kaffe] problem with bad libgif link in CVS code

Alexandre Oliva oliva at dcc.unicamp.br
Wed Jan 27 00:50:13 PST 1999

On Jan 27, 1999, Moses DeJong <dejong at cs.umn.edu> wrote:

>> The problem is that -rpath/-R is not supported by gcc on all
>> platforms.  libtool, OTOH, does support -R portably (-rpath has a
>> special meaning when creating shared libraries).  So we can't just
>> tack it on LDFLAGS in the beginning of configure.in.

> Well, the only place we really "need" the LD_LIBRARY_PATH set is
> when kaffe is run. It seems like another way around this is to
> create a KAFFE_LD_LIBS var in the configure script that would store
> up all the runtime libs needed by kaffe and then the LD_LIBRARY_PATH
> could be set inside the kaffe wrapper script before actually calling
> the Kaffe executable. That way we could avoid the -R stuff to the
> compiler and it should work on most platforms (I think HPUX uses

That would also work for run time, but `make check' would not work in
the build tree any more.  Selecting the appropriate LD_LIBRARY_PATH
variable is something that will be quite easy to do with libtool, and
I'll take care of it soon.

Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
Universidade Estadual de Campinas, SP, Brasil

More information about the kaffe mailing list