This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


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

Re: More on 32bit/64bit ABIs under Linux


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



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