newlib and windows

Started by tasbihmr November 21, 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.

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

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

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

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

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.