darwin8 libjava support

Peter O'Gorman peter@pogma.com
Sat Mar 26 14:21:00 GMT 2005


Geoffrey Keating wrote:
> Mike Stump <mrs@apple.com> writes:
> 
> 
>>Here is one to add support for multilibbing on -m64 for darwin8.  It
>>come even closer to building with these.
>>
>>The patches mirror the other code around it for other arches.  Maybe
>>not my first choice in style, but I like consistency over being
>>arbitrarily different.
>>
>>Ok?
> 
> 
> I think this needs to be sent to the upstream libtool first...

I don't like this, I don't think it is necessary in upstream libtool. As far 
as I know upstream libtool does not use $LD directly on darwin anywhere, but 
gcc's libtool does, in reload_cmds. I think you need to patch ltconfig to 
use "$CC -nostdlib ${wl}-r" instead of "$LD$reload_flag".

On the other hand, what is the '-weak_reference_mismatches non-weak' about, 
does upstream libtool need this?

Peter
-- 
Peter O'Gorman - http://www.pogma.com



More information about the Gcc-patches mailing list