Home | Mirror | Search |
$ sudo apt-get install gobjc gobjc++ $ sudo apt-get install gnustep-make
例 52.1. Objective-C hello world
$ cat hello.m #import <stdio.h> int main( int argc, const char *argv[] ) { printf( "hello world\n" ); return 0; }
$ gcc hello.m $ ./a.out hello world