discuss-gnustep
[Top][All Lists]
Advanced

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

RE: why --enable-auto-import ?


From: Nicola Pero
Subject: RE: why --enable-auto-import ?
Date: Sun, 12 Sep 2010 18:10:57 +0200 (CEST)

Hi

thanks for trying out GNUstep. Unfortunately, Windows is a complicated platform 
to start with. ;-)

To start with, try following the tutorial here:

http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/index.html

it explains how to get your first Hello World program working. :-)

It that tutorial doesn't work, please send as many details as you can to the 
list (how you installed GNUstep, etc), otherwise it's hard to help. ;-)

Thanks

PS: The warning that auto-import is automatically enabled is usually harmless

-----Original Message-----
From: "gnustepnewbie" <address@hidden>
Sent: Sunday, 12 September, 2010 12:49
To: address@hidden
Subject: why --enable-auto-import ?


When compiling hello.m below

#import <Foundation/Foundation.h>

int main (int argc, const char * argv[])
{
        NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

        NSLog (@"hello world");
        [pool drain];
        return 0;
}

with

gcc -o hello hello.m -I /GNUstep/System/Library/Headers -L
/GNUstep/System/Library/Libraries -lobjc -lgnustep-base
-fconstant-string-class=NSConstantString 

It did create a workable exe but it output this warning: auto-importing has
been activated without --enable-auto-import

When I add it at the end it says: unrecognized '-fenable-auto-import'
-- 
View this message in context: 
http://old.nabble.com/why---enable-auto-import---tp29689752p29689752.html
Sent from the GNUstep - General mailing list archive at Nabble.com.


_______________________________________________
Discuss-gnustep mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

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