Adrian Robert | 16 Jul 16:24

Re: [Emacs.app dev]: Problems compiling Emacs.app with GNUstep


On Jul 16, 2008, at 10:07 AM, Charles philip Chan wrote:

>
> On 16 Jul 2008, at 12:54, Charles philip Chan wrote:
>>
>> ...
>> #12 0xb6e1a92a in ffi_closure_SYSV () from /usr/local/lib/libffi.so.5
>> #13 0x0827a831 in ns_alloc_autorelease_pool () at nsterm.m:519
>> #14 0x08169dd7 in main (argc=15, argv=0xbf8be384) at emacs.c:1419
>
> So now you know where the problem occurs ... line 519 of nsterm.m ...
> maybe that's some help.

This line is just:

return [NSAutoreleasePool alloc] init];

Error for such a basic call points to a problem with init sequence  
(main() wizardry) or compile/link flags.  When I was working on  
Emacs.app and GNUstep the hardest part was getting the compile and  
link lines to look like what happens when you invoke gnustep-make  
(which can't be used for emacs due to its own big build system).

Lines 99-103 in compile try to get things set up properly (backed up  
by configure.in) and followed by Makefile.in (search for "GNUSTEP" in  
those files).  There have been changes in GNUstep from time to time  
that needed to be adjusted for in the past, and the methods there  
might be failing now.

(Continue reading)

Charles philip Chan | 16 Jul 16:48
X-Face

Re: [Emacs.app dev]: Problems compiling Emacs.app with GNUstep

Adrian Robert <adrian.b.robert <at> gmail.com> writes:

Hello Adrian:

> This line is just:
>
> return [NSAutoreleasePool alloc] init];

I know. I wasn't too sure why such a basic call failed.

> Error for such a basic call points to a problem with init sequence
> (main() wizardry) or compile/link flags.  When I was working on
> Emacs.app and GNUstep the hardest part was getting the compile and
> link lines to look like what happens when you invoke gnustep-make
> (which can't be used for emacs due to its own big build system).
> ...

Thanks for the info- I will do more debugging.

Charles

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Gmane