libgcj versus libtool
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jun 29 08:05:00 GMT 1999
libgcj can't currently be built before egcs is installed, because
libtool won't pass -B flags to xgcc. This can't be fixed in the
current libtool for various reasons, so I've come up with the attached
patch to allow libtool-dependent target packages to use an uninstalled
egcs, in the same build tree.
The idea is simple: a wrapper shell-script is created that runs xgcc
with the appropriate -B flags and whatever command-line flags the
script is started with.
There is a minor problem: on platforms that do not support running
scripts directly (i.e., require /bin/sh /path/to/script), this
work-around won't work. But then, it will only be used to build
libgcj, which doesn't build on so many platforms anyway.
Since we've had a recent effort to allow gcc 2.95 and libgcj to be
built together, I'd like to have this patch installed for gcc 2.95, to
complete this effort.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
More information about the Java-patches
mailing list