Eclipse + ARM-gcc toolchain

OP #1174625
HI,

I got the eclipse platform ver 3.4.1 from the yagarto website. This was
a zipped file, so i unzipped it into D:\Data\eclipse\. before this i
downloaded the yagarto toolchain and installed the same (defualt
location, program files, C:).

Now my problem is, when i start eclipse, start a new project and try to
select a toolchain in the toolchain editor, i can only see a no
toolchain setting over there. How do i configure it to the yagarto
toolchain.
Moderator
Michael Rodrigues wrote:
> HI,
>
> I got the eclipse platform ver 3.4.1 from the yagarto website. This was
> a zipped file, so i unzipped it into D:\Data\eclipse\. before this i
> downloaded the yagarto toolchain and installed the same (defualt
> location, program files, C:).
>
> Now my problem is, when i start eclipse, start a new project and try to
> select a toolchain in the toolchain editor, i can only see a no
> toolchain setting over there. How do i configure it to the yagarto
> toolchain.

AKAIK there is no out-of-the-box support in Eclipse for a
Cross-Toolchain as in Yagarto. At least I have not found it in the
current Eclipse (Ganymede). Did you read Jim Lynch's Tutorial available
i.e. from atmel.com? Use a makefile-project and set the compiler for the
parser to arm-elf-gcc and configure the search-pathes for include-files.
There is at least one 3rd party Eclipse-plugin for arm-*-gcc (see
sf.net) but I don't know much about it. For debugging configure a
debug-setup using the GDB hardware-debugging plugin (from the "official"
Eclipse repository) or the 3rd party plugin from Zylin plugin that comes
with Yagarto.
Martin Thomas wrote:
> Michael Rodrigues wrote:
>> HI,
>>
>> I got the eclipse platform ver 3.4.1 from the yagarto website. This was
>> a zipped file, so i unzipped it into D:\Data\eclipse\. before this i
>> downloaded the yagarto toolchain and installed the same (defualt
>> location, program files, C:).
>>
>> Now my problem is, when i start eclipse, start a new project and try to
>> select a toolchain in the toolchain editor, i can only see a no
>> toolchain setting over there. How do i configure it to the yagarto
>> toolchain.

If you are using Windows, setting up an ARM toolchain is simple.Since
you have already downloaded Eclipse and installed Yagarto, just use the
GNUARM Eclipse plugin found at
http://sourceforge.net/projects/gnuarmeclipse/. It has out of the box
support for Yagarto. Just download the '.jar' file into the Eclipse
plugin folder.
(Company: PeF Ljubljana, TSC Kranj)
> If you are using Windows, setting up an ARM toolchain is simple.Since
> you have already downloaded Eclipse and installed Yagarto, just use the
> GNUARM Eclipse plugin found at
> http://sourceforge.net/projects/gnuarmeclipse/. It has out of the box
> support for Yagarto. Just download the '.jar' file into the Eclipse
> plugin folder.

What if i use Linux Ubuntu??? Is there any way to do it? I only want to 
use codesourcery toolchain in eclipse.
(Company: PeF Ljubljana, TSC Kranj)
Ziga Lausegger wrote:
> I tried to install it allover again and at step 3 where i am supposed to
> add ARM GCC plugin .zip file i cannot click "Finish" button ... Why is
> that? Any other way?

I managed to install it allover again and i dont get warnings about : 
"cannot find arm-none-eabi-gcc". Instead when compiling i get 2 other 
errors saying "cant find startup.o" and "make: *** [test_balau.elf] 
Error 1"
(Company: Student)
Hi,

I think it is ok to don't see yagarto toolchain in Eclipse, I mean, you 
can use it but you won't see it there. In fact, as the tutorial says, 
you have to select Neew Project->MakeFile Project [Other Tool chain].
Guest
camilo chaves wrote:
>I think it is ok to don't see yagarto toolchain in Eclipse,

No. If the gnu-arm-plugin for Eclipse is installed properly, you will 
see arm-toolchain projects, and you can select the yagarto-toolchain.

Ziga Lausegger wrote:
>Instead when compiling i get 2 other
>errors saying "cant find startup.o"

Well, the linker might want to tell you, that something called startup.o 
is missing. If you have a "startup.s" in your source file folder, rename 
is to "startup.S". For some unknown reason Eclipse recognizes only files 
with .S (capital S) as assembler source files.

Oliver
Guest
>For some unknown reason Eclipse recognizes only files
>with .S (capital S) as assembler source files.

Wow, this is really nice info. Thank you.

Reply

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.