EmbDev.net

Forum: ARM programming with GCC/GNU tools ARM-GCC Toolchain setup (Linux) for AT91SAM7S-EK


Author: Kshitij Singh (kshitij)
Posted on:

Rate this post
0 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.

Author: Giovanni Di sirio (gdisirio)
Posted on:

Rate this post
0 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/por...

regards,
Giovanni
---
ChibiOS/RT http://chibios.sourceforge.net

Author: Kshitij Singh (kshitij)
Posted on:

Rate this post
0 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

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.