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

OP #1174643
Rate this post
• ▲ useful
▼ not useful
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.
#1174644
Rate this post
• ▲ useful
▼ not useful
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 #1174645
Rate this post
• ▲ useful
▼ not useful
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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.