For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU.
This group is to exchange information to help users get started and learn how to use the devices.
So far in May, you have voted 0 times ou of a total of 20 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.
Is this thread worth a thumbs up?
newlib and windows - tasbihmr - Nov 21 4:41:17 2008
Hello,
I need to have the newlib libraries available in windows for a compile
that I am performing, however the only new library I have is what is
supposed to be in the yagarto folders installed, however I am unable
to compile using what is already there, because I simply cannot find
any library related to newlib. So how can I have the newlib
functionality on windows, I mean the libraries for example. Is it I
mean necessary to compile from source? Can I not just get it in some
software package, for example included in a gcc package for windows? I
am getting an error in my compile, which is definitely due to newlib,
but I do't understand what since I am supposed to be having newlib
already:
c:/program
files/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/bin/ld.exe:
cannot find -lnewlib-lpc
collect2: ld returned 1 exit status
Any body can give me any hint with the above error message and how to
fix the newlib on windows?
Thank you and regards.
(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )Re: newlib and windows - &quo...@aeolusdevelopment.com" - Nov 21 13:06:41 2008
tasbihmr wrote
>
>c:/program
>files/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/bin/ld.exe:
>cannot find -lnewlib-lpc
>collect2: ld returned 1 exit status
>
>Any body can give me any hint with the above error message and how to
>fix the newlib on windows?
It's not complaining that newlib is missing (I don't know if Yagarto uses
newlib or not). It is complaining that newlib-lpc is missing.
newlib-lpc is an adaptation layer for newlib that provides specific I/O
(and some chip specific functions) for the LPC200 (NXP) series of ARM
processors. It's not meant for the Atmel families, but some of the
functions are not Atmel specific so would likely work w/o changing.
Having said that it would be easy to adapt it to perform similar functions
for the Atmel series.
The source and documentation are available at
http://www.aeolusdevelopment.com/Articles/docandapp.html
http://www.aeolusdevelopment.com/Articles/download.html
Robert
--------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and
application
hosting -
http://link.myhosting.com/myhosting
(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )Re: newlib and windows - Jonathan Dumaresq - Nov 27 9:55:57 2008
Hi,
I think you have a path space problem
You should change you env path to remove all the space in your yagarto path
and openocd if you have it installed.
Regards
Jonathan
-----Message d'origine-----
De : A... [mailto:A...] De la part de
s...@aeolusdevelopment.com
Envoyé : 21 novembre 2008 13:07
À : a...; a...
Objet : RE: [AT91SAM] newlib and windows
tasbihmr wrote
>
>c:/program
>files/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/bin/ld.exe:
>cannot find -lnewlib-lpc
>collect2: ld returned 1 exit status
>
>Any body can give me any hint with the above error message and how to
>fix the newlib on windows?
It's not complaining that newlib is missing (I don't know if Yagarto uses
newlib or not). It is complaining that newlib-lpc is missing.
newlib-lpc is an adaptation layer for newlib that provides specific I/O
(and some chip specific functions) for the LPC200 (NXP) series of ARM
processors. It's not meant for the Atmel families, but some of the
functions are not Atmel specific so would likely work w/o changing.
Having said that it would be easy to adapt it to perform similar functions
for the Atmel series.
The source and documentation are available at
http://www.aeolusdevelopment.com/Articles/docandapp.html
http://www.aeolusdevelopment.com/Articles/download.html
Robert
--------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and
application
hosting -
http://link.myhosting.com/myhosting
(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )