[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Mac OSX install help

Hi,

I'm trying to make eclipse work with C on my mac but I can't get it to work. I keep getting this error:

**** Build of configuration Debug for project HelloWorld ****

make all Building file: ../Hello.c
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Hello.d" -MT"Hello.d" -o"Hello.o" "../Hello.c"
Finished building: ../Hello.c


Building target: HelloWorld
Invoking: MacOS X C Linker
gcc -o "HelloWorld" ./Hello.o Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [HelloWorld] Error 1


This is just a regular hello world program, what's the problem? Thanks!