#include <stdio.h>
int main (void)
{
printf("printf");
return 0;
}
요렇게 짜고 빌드했는데
21:22:35 **** Incremental Build of configuration Debug for project test ****
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 fou1nd for architecture x86_64
collect2: ld returned 1 exit status
make: *** [test] Error 1
21:22:35 Build Finished (took 110ms)
라고 뜸요 ㅠㅠ
gcc 깔고
C/C++ development tools도 깔았는데;
64비트 컴파일러를 안깔았다던지...
엥 xcode로 commend line인가 그거 깔았는데
Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enabl
이거 32bit 컴파일러임?
http://rawt.tistory.com/302
tool chain editor 가 어디있지;
setting 항목은 또 멍
오오 찾음 ㄱㅅㄱㅅ
ㅅㄱ
해봤는데 앙댐