LegendBreath
Daemon Poster
- Messages
- 511
- Location
- New Brunswick, Canada
Hi,
I have a problem with GCC (the lastest version).
When I'm trying to pass the command "gcc HELLO.C -o HELLO" to compile the source code "HELLO.C" it's give me this error:
and here is what there is in HELLO.C
Can someone help me?
I have a problem with GCC (the lastest version).
When I'm trying to pass the command "gcc HELLO.C -o HELLO" to compile the source code "HELLO.C" it's give me this error:
HELLO.C:6:2: warning: no newline at end of file
/tmp/ccOzGery.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
and here is what there is in HELLO.C
#include <stdio.h>
int main()
{
printf("Hello world!\n");
return(0);
}
Can someone help me?