[Top][All Lists]

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

Re: why --enable-auto-import ?

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 <address@hidden> 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;


gcc -o hello hello.m -I /GNUstep/System/Library/Headers -L
/GNUstep/System/Library/Libraries -lobjc -lgnustep-base

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'

Try, -Wl,--enable-auto-import. Since that is a ld flag.

View this message in context: 
Sent from the GNUstep - General mailing list archive at Nabble.com.

Discuss-gnustep mailing list

reply via email to

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