|
From: | Andrew Pinski |
Subject: | Re: why --enable-auto-import ? |
Date: | Sun, 12 Sep 2010 08:58:59 -0700 |
On Sep 12, 2010, at 3:49 AM, gnustepnewbie <asksuperuser@yahoo.com> wrote:
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=NSConstantStringIt did create a workable exe but it output this warning: auto- importing hasbeen activated without --enable-auto-import When I add it at the end it says: unrecognized '-fenable-auto-import'
Try, -Wl,--enable-auto-import. Since that is a ld flag.
-- 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 Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
[Prev in Thread] | Current Thread | [Next in Thread] |