Compiling C source file with Codesourcery G++ Lite Toolchain in Eclipse
I've installed the GNU ARM Eclipse Plugin to integrate the Sourcery G++ Lite Toolchain with Eclipse Helios for C/C++ Developers (Windows version). I created a new C Project (ARM Cross Target Application, with the Sourcery G++ toolchain), and I wrote a Hello.c source file. 
When trying to build the c file, I got the following errors:

    init.c:(.text+0x38): undefined reference to `_init'
    collect2: ld returned 1 exit status
    cs-make: *** [SO.elf] Error 1

I'm using the default script for the linker, *generic.ld*, which is in the directory CodeSourcery\arm-none-eabi\lib\generic.ld. 

If I uncheck the option "Do not use standard start files -nostartfiles" then I don't get any errors, and a Hello.elf file is generated.
However, if I try to run it from Eclipse I get the following error:

    Error starting process.
    Cannot run program "...\workspace\Hello\Release\Hello.elf": Launching failed

Is there any way to run the C compiled file in Eclipse, using the Sourcery G++ Toolchain?

Thanks.
Compiling C source file with Codesourcery G++ Lite Toolchain in Eclipse
===

I've installed the GNU ARM Eclipse Plugin to integrate the Sourcery G++ Lite Toolchain with Eclipse Helios for C/C++ Developers (Windows version). I created a new C Project (ARM Cross Target Application, with the Sourcery G++ toolchain), and I wrote a Hello.c source file. 
When trying to build the c file, I got the following errors:

    init.c:(.text+0x38): undefined reference to `_init'
    collect2: ld returned 1 exit status
    cs-make: *** [SO.elf] Error 1

I'm using the default script for the linker, *generic.ld*, which is in the directory CodeSourcery\arm-none-eabi\lib\generic.ld. 

If I uncheck the option "Do not use standard start files -nostartfiles" then I don't get any errors, and a Hello.elf file is generated.
However, if I try to run it from Eclipse I get the following error:

    Error starting process.
    Cannot run program "...\workspace\Hello\Release\Hello.elf": Launching failed

Is there any way to run the C compiled file in Eclipse, using the Sourcery G++ Toolchain?

Thanks.