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: Carl Eugen Hoyos
Subject: Re: Bundles on darwin (gnu-gnu-gnu)
Date: Fri, 26 Sep 2003 17:54:22 +0200 (CEST)

Works!

Please add the dlcompap - library to section 'extra libs needed' for
Darwin6:
http://www.opendarwin.org/projects/dlcompat/
Or did you find another solution to load the bundle?

Would it make sence now to use -undefined suppress instead of -undefined
warning in target.make for linking of libraries and bundles?

Great work!
(It never worked for me because I didn't think of bundle1.o)

Thank you, Carl Eugen Hoyos

On Thu, 25 Sep 2003, Adam Fedor wrote:

>
> 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]