bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bundles on darwin (gnu-gnu-gnu)


From: Adam Fedor
Subject: Re: Bundles on darwin (gnu-gnu-gnu)
Date: Thu, 25 Sep 2003 14:59:37 -0600


On Thursday, September 25, 2003, at 10:04 AM, Matt Rice wrote:
Unfortunately not. I've got this far also. But
apparently, when loading
in a bundle, the constructors are not automatically
executed, so the
classes never get loaded into the runtime. I don't
know why yet.  I'm
thinking it might have something to do with a link
option...


this seems to be the case, -bundle says it'll create a
Mach-o bundle

I haven't tested at all, but maybe adding
BUNDLE_LDFLAGS += -bundle
on line 70 of
Instance/bundle.make


Yes, that works. Thanks. Although using the Apple compiler it was easy. With the FSF compiler I had to use some odd tricks:

BUNDLE_LD       =  /usr/bin/ld
BUNDLE_LDFLAGS += -bundle -flat_namespace -undefined warning /usr/lib/bundle1.o





reply via email to

[Prev in Thread] Current Thread [Next in Thread]