discuss-gnustep
[Top][All Lists]
Advanced

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

Re: linking problems on sparc-solaris2.7


From: Richard Frith-Macdonald
Subject: Re: linking problems on sparc-solaris2.7
Date: Wed, 16 May 2001 15:55:27 +0100

On Wednesday, May 16, 2001, at 03:03 PM, Michael Scheibler wrote:


What's this? Is this fake-main? Is it enough to run
./configure --disable-fake-main?


In order for fake_main (setup of NSProcessInfo) to work, you must
include a GNUstep header such as <Foundation/Foundation.h> in your program.

On some systems this is not required, but on a sun system you either need to
use fake main (and include the header(s)) or configure to disable it, and
call [NSProcessInfo +initializeWithArguments:count:environment:] at the start
of your main() function.



reply via email to

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