EmbDev.net

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


von Kshitij S. (kshitij)


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.

von Giovanni D. (gdisirio)


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

von Kshitij S. (kshitij)


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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.