[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for building fat libraries on darwin
From: |
Gary V. Vaughan |
Subject: |
Re: patch for building fat libraries on darwin |
Date: |
Tue, 20 Jan 2004 10:00:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter O'Gorman wrote:
| Ranlibed fat archives are no longer usable by ar on darwin, and ld -r when
| given a fat object as input will happily create a thin output object.
|
| ~ * ltmain.in (darwin): When building a fat convenience library,
| ~ make a copy that is not ranlibed. Use the non-ranlibed copy when
| ~ we need to ar -x the archive.
Ick! Since we never install convenience libs, wouldn't it be cleaner to add
RANLIB_cmds to libtool? Where darwin sets it to do nothing on fat convenience
libraries, but run $RANLIB otherwise. I'm quite happy for RANLIB_cmds to call
a shell function if that helps the implementation, but be careful to only drop
the function in libtool if it is used (i.e. $host_os ~= darwin*).
| ~ * m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
| ~ reload_cmds to use $CC, otherwise ld will thin out any fat
| ~ objects.
Happy with this bit though.
Cheers,
Gary.
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://www.oranda.demon.co.uk
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFADPwsFRMICSmD1gYRAvJ9AJ9+6nrXGR4UIPFf8p2Hw+QglRzrpQCgtpNS
ZCC2JM+CP1HbD2gLQZf8+og=
=1qYn
-----END PGP SIGNATURE-----
- patch for building fat libraries on darwin, Peter O'Gorman, 2004/01/19
- Re: patch for building fat libraries on darwin,
Gary V. Vaughan <=
- Re: patch for building fat libraries on darwin, Peter O'Gorman, 2004/01/20
- Re: patch for building fat libraries on darwin, Gary V. Vaughan, 2004/01/20
- Re: patch for building fat libraries on darwin, Peter O'Gorman, 2004/01/20
- Re: patch for building fat libraries on darwin, Gary V. Vaughan, 2004/01/20
- Re: patch for building fat libraries on darwin, Peter O'Gorman, 2004/01/20
- Re: patch for building fat libraries on darwin, Gary V. Vaughan, 2004/01/21
- Re: patch for building fat libraries on darwin, Peter O'Gorman, 2004/01/21