[conditional multilib patch] Re: mips-sgi-irix6.5 installation

Alexandre Oliva oliva@dcc.unicamp.br
Sat Apr 10 06:38:00 GMT 1999


On Apr 10, 1999, Jeffrey A Law <law@upchuck.cygnus.com> wrote:

>   In message <orbtgxwoyu.fsf@dcc.unicamp.br>you write:
>> On Apr  9, 1999, Jeffrey A Law <law@upchuck.cygnus.com> wrote:

>> It seems that I'm not the only one affected by the lack of 64bit
>> libraries.  Would anyone dislike a patch that would test whether
>> /usr/lib64/libc.so exists, and disable multilibs on IRIX6 if it does
>> not?

> Or if we could just disable the 64bit libraries in that case.  But that's
> quite a bit more difficult :-)

Not really.  Disabling multilib support within gcc would be quite
hard, but just testing whether a program can be linked with -mabi=64
is trivial, and we can thus avoid trying to create shared libraries
for this ABI.  We could still create static ones, though, but they
wouldn't be of much use, so I'm inclined not to do it.  How about the
attached patch?

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{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 Gcc-patches mailing list