[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Anyone?
From: |
Richard Frith-Macdonald |
Subject: |
Re: Emacs Anyone? |
Date: |
Fri, 3 Mar 2017 09:38:21 +0000 |
> On 3 Mar 2017, at 09:02, Riccardo Mottola <riccardo.mottola@libero.it> wrote:
>
> Hi Fred,
>
> Fred Kiefer wrote:
>> The simplest way to work around this issue is to switch to fake main, which
>> may be done via the configure switch --enable-fake-main for GNUstep base.
>>
>> But you should rather try to find out what is the issue here instead.
>
> fake main is automatically enabled in OpenBSD and all othe apps do work, so
> for some reason it is ineffective. What could it be?
For fake main to work, you have to include a GNUstep header file (eg
Foundation/NSObject.h) in the source file where main() is used.
So typically that won't work if you are writring library code which is to be
called from some application that's not GNUstep aware (ie where the source code
you have never calls main()).
In that situation you should be able to call GSInitializeProcess() to perform
the setup before doing anything else.
- Re: Emacs Anyone?, Germán Arias, 2017/03/01
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/01
- Re: Emacs Anyone?, Fred Kiefer, 2017/03/01
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/03
- Re: Emacs Anyone?,
Richard Frith-Macdonald <=
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/03
- Re: Emacs Anyone?, Ivan Vučica, 2017/03/03
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/07
- Re: Emacs Anyone?, Wolfgang Lux, 2017/03/07
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/07
- Re: Emacs Anyone?, Matt Rice, 2017/03/07
- Re: Emacs Anyone?, Fred Kiefer, 2017/03/07
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/08
- Re: Emacs Anyone?, Richard Frith-Macdonald, 2017/03/08
- Re: Emacs Anyone?, Wolfgang Lux, 2017/03/13