gnustep-dev
[Top][All Lists]
Advanced

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

Re: gnustep_base_user_main() question


From: Adrian Robert
Subject: Re: gnustep_base_user_main() question
Date: Tue, 5 Jul 2005 23:08:59 -0400


On Jul 5, 2005, at 10:34 PM, Adam Fedor wrote:


On Jul 5, 2005, at 9:34 PM, Adrian Robert wrote:

Now this header is gone, but the strategy is still used somehow but only on some platforms. In particular, it seems like Linux does not use it (evidently getting proc info from the system) but NetBSD does. My question: is there any way short of "#include <NSObject.h>" in my file with main() to satisfy things on a fake-main-using system? I'm having trouble tracing out what happens when fake-main is enabled in the config, and the references to 'gnustep_base_user_main' in the code are quite limited. Ideally, I would like to just manually put whatever #define is necessary in my main() file because including any Objective-C headers is not an easy option.


You can read the section 'Reading Command-Line Arguments' in the INSTALL file in gnustep-base

OK, yes I should RTFM, or RTFC in this case.. After some more hunting I found a ChangeLog entry saying "Remove fake-main.h include - use GSConfig.h", and then found GSConfig.h.in -- which had escaped my initial grep, but had the relevant #define in it. Problem solved, sorry for any bother..




reply via email to

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