This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: darwin8 libjava support


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


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