This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ multilibs installed where gcc won't find them


On Jan 27, 2003, Alexandre Oliva <aoliva@redhat.com> wrote:

> On Jan 27, 2003, Tom Tromey <tromey@redhat.com> wrote:
>>>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:
>>>> Looks fine to me.  The only possible problem I could think of is that
>>>> gcj looks for libgcj.spec at runtime.

Alexandre> Can't possibly be affected.  This only affects the install
Alexandre> location of libraries.  At least that's the theory :-)

>> libgcj.spec is installed in the same directory as libgcj.so, so this
>> patch affects where it is installed.

> I see.  I'll have to test that.  Thanks for the heads up.  The patch
> won't go in before a multilib build is completed, installed and
> tested, anyway.  It's almost there, but will still take a while :-(

So we had a problem, after all: libgcj.spec is to be installed only in
the primary multilib directory.  Nothing else will do.  It's not
searched in multilib subdirectories at all, neither in gcc's multilib
conventions nor in the os's multilib conventions, so I just went ahead
and introduced toolexecmainlibdir in libjava/configure.in and arranged
for libgcj.spec to be installed there.  Multilibs will overwrite each
other's libgcj.spec, but this is not a problem since we've been using
only the libgcj.spec of the default multilib anyway.

I'm checking the following patches in 3.2, 3.3 and mainline,
respectively.  They're only different as far as line numbers go,
except for libiberty in 3.2, that required tweaking since it's not
DESTDIRified there.

Attachment: libs-in-multi-os-dir.patch.bz2
Description: BZip2 compressed data

Attachment: libs-in-multi-os-dir.patch.bz2
Description: BZip2 compressed data

Attachment: libs-in-multi-os-dir.patch.bz2
Description: BZip2 compressed data

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]