ARM-GCC Toolchain setup (Linux) for AT91SAM7S-EK

OP #1174643
I have a Dell XPS-M1530 running Ubuntu 8.10. I downloaded the GNU-ARM
distribution and managed to install binutils and GCC flawlessly using
the commands provided on the support page. Newlib gave an
"arm-elf-gcc/arm-elf-cc not found" error despite the variables being
added to PATH (I checked it by running them through the command line);
so I added symbolic links to the contents of the entire
"/usr/local/arm/bin" in the /bin directory and this kind of worked. Now
I am getting the following error: "as: unrecognized command option:
-mfloat-abi". Is there a simpler solution? Kindly help.
Kshitij Singh wrote:
> I have a Dell XPS-M1530 running Ubuntu 8.10. I downloaded the GNU-ARM
> distribution and managed to install binutils and GCC flawlessly using
> the commands provided on the support page. Newlib gave an
> "arm-elf-gcc/arm-elf-cc not found" error despite the variables being
> added to PATH (I checked it by running them through the command line);
> so I added symbolic links to the contents of the entire
> "/usr/local/arm/bin" in the /bin directory and this kind of worked. Now
> I am getting the following error: "as: unrecognized command option:
> -mfloat-abi". Is there a simpler solution? Kindly help.

You may install the CodeSourcery free Linux package. No need to compile
anything.

http://www.codesourcery.com/gnu_toolchains/arm/portal/release642

regards,
Giovanni
---
ChibiOS/RT http://chibios.sourceforge.net
OP
Eh, I know what CodeSourcery offers :P ; its just that I'm too addicted
to Eclipse and having the GNU ARM Eclipse plugin(which, unfortunately,
recognizes only Yagarto, GCC-ARM) gives the GCC-ARM package a nice
advantage. CodeSourcery does sell a personal version which has an
Eclipse plugin, but I'm not willing to shell out the moolah right now
;). Thanks, however, for replying.
Getting back to my problem, I ran a check on my system and 'as' does
recognize the "-mfloat-abi=soft" option, so I still dunno what the issue
is. But, I did come across multiple posts on google referring to newlib
installation problems.


Regards,
Kshitij

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.