http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_programming&no=6284 [º¹»ç]
ÄܼÖâ¿¡
make all
Building target: test
Invoking: MacOS X C Linker
gcc -o "test" ./test.o
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [test] Error 1
21:06:36 Build Finished (took 796ms)
test.c¶ó´Â hello world¸¦ ÄÚµùÇÏ°í ºôµåÇÏ¿´´õ´Ï
¶ó°í ¶ß´Âµ¥ ¹¹°¡ ¹®Á¦ÁÒ?
gccµµ ¼³Ä¡ÇÏ¿´°í
C/C++ Development tool¤¤ µµ ¼³Ä¡ ÇÏ¿´½À´Ï´Ù. |
Hit : 4045 Date : 2012/12/18 09:24
|