help writing C in Eclipse and Windows

minofifa

Senior member
May 19, 2004
485
0
0
HI

i need to start writing C projects for school and i want to do it in windows with eclipse. I need to use Sorcery G++ for ARM, and the getting started manual says that it does work with eclipse.

when i follow these instructions:

Start Eclipse and create a Sourcery G++ Lite project by selecting Project from the New submenu of
the File menu. Expand the C++ label and select Managed Make C++ Project. (To build a C application,
expand the C label instead.) Click the Next button. Give the project the name "hello" and click
the Next button. From the Project Type menu select "Executable (Sourcery G++ Lite for ARM
EABI)" and click Finish. If you are asked whether or not to open a new perspective, click the Yes
button.



i don't have the choice to pick ececutable (sourcery G++ lite for ARM). I have both eclipse and sourcery tools installed, and ahve restarted. I also have teh C/C++ plugin installed for eclipse. I only get a choice of "executable Gnu Windows" or somethign like that.

can anybody help me with being able to use teh sourcery compiler and eclipse? thank you

 

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
There are times Eclipse won't load plugins until your restart it with:
eclipse -clean

That should force it to re-load its plugins.
 

minofifa

Senior member
May 19, 2004
485
0
0
i tried navigating to the eclipse folder in the PROMPT and typing
eclipse-clean and -clean

but these commands don't work. Am i doing this wrong?
 

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
Navigate to where the Eclipse executable is, and in the prompt type:
eclipse -clean
(note the space between 'eclipse' and '-clean').
 

minofifa

Senior member
May 19, 2004
485
0
0
eclipse -clean, executed that time. sorry dont know what i typed the frist time.

however, that didn't solve my problem. there is littl documentation on the sourcery toolkit with eclipse so i'll poke around the internet to see if i can find anything, and ask some people at school. if you have any more ideas i'd like to hear them. thanks for the help!