help-gnustep
[Top][All Lists]
Advanced

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

Re: Installing


From: Nicola Pero
Subject: Re: Installing
Date: Fri, 13 Apr 2007 10:57:16 +0200 (CEST)

Thanks ... you could try

gcc -v

Mine says:

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --enable-checking=release -
-with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-
libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable
-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-
1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)

Note the --enable-languages=...,objc,...

Does yours include objc in that list ?

Thanks



-----Original Message-----
From: Steven Quinones-Colon <stevenq1967@gmail.com>
Sent: Fri, April 13, 2007 6:57 am
To: help-gnustep@gnu.org
Subject: Re: Installing

>
> You're using your own build of gcc it seems...did you include
> objective-c in LANGUAGES when you built it?
>
> Cheers,
> Graham.
>
>
I seem to be able to compile objective-c programs.
I used this as a test:
#import <stdio.h>
int main (int argc, const char *argv[])
{
       printf ("Programming is fun.\n");
return 0;
}
I compile as such:
gcc main.m -o prog1 -lobjc
And it compiles and runs correctly.
If I remember correctly I didn't specify language, so it must have
built all languages.  Do you mean that I was supposed to give it a
flag of some kind so GNUstep will work?
Steven


_______________________________________________
Help-gnustep mailing list
Help-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnustep





reply via email to

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