discuss-gnustep
[Top][All Lists]
Advanced

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

Re: [ANN] PyObjC for GNUstep


From: Matt Rice
Subject: Re: [ANN] PyObjC for GNUstep
Date: Mon, 29 Aug 2011 14:39:22 -0700

On Mon, Aug 29, 2011 at 1:05 PM, Ludovic Marcotte <ludovic@sophos.ca> wrote:
> On 28/08/11 12:23, Matt Rice wrote:
>>
>> Thanks, is there a msg_send_compat.h which was supposed to be included
>> with this patch?
>
> Indeed, here is the file. All tests were done with revision #2606.
>
> I also have a complete example that I could send which shows SOGo
> (www.sogo.nu) instantiating and class and invoking a method which is
> provided by a Python script (class definition and the implementation of that
> method).
>
> Regards,
>

Thanks, unfortunately required some modifications,
apparently my constructor call order here is the opposite
of yours,

sure would be nice if +load would accept the constructor attribute
priority, or a gcc option to set the default priority at compile time.

    # Load order is important here.  Linking -corebase after -base causes a
    # crash trying to register for a notification with a string that is not yet
    # initialized.
    OBJC_LDFLAGS = str(subprocess.Popen(["gnustep-config",
"--base-libs"], stdout=subprocess.PIPE).communicate()[0]).split()
    OBJC_LDFLAGS.extend(["-lgnustep-corebase"])



reply via email to

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