This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: More on 32bit/64bit ABIs under Linux
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: More on 32bit/64bit ABIs under Linux
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 22 Apr 1999 05:16:36 -0300
- Cc: libc-hacker@cygnus.com (GNU C Library), egcs@egcs.cygnus.com
- References: <19990421063913.4486A57B2@ocean.lucon.org>
On Apr 21, 1999, hjl@lucon.org (H.J. Lu) wrote:
> 3. Add "-prefix /ABI32" to ld. It adds the prefix, "/ABI32" to all
> search paths if appropriate.
How do you decide the `if appropriate' part? Would the user be forced
to install libraries of a given ABI into a particular tree? I
wouldn't appreciate such a policy. It's might be ok for libraries
included in a distribution, but not for user-installed ones. And
then, for the distribution case, gcc can be taught which linker flags
to use when given a -mabi switch.
> 3. Modified ldconfig.c to append /ABI32 to each entry in
> /etc/ld.so.conf if necessary and add them to /etc/ld.so.cache.
Wouldn't it be better to extend ld.so so that one could have a
different .conf file for a different ABI. For example,
/ABI32/etc/ld.so.conf, or /etc/ld.so.conf-ABI32 ?
--
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