Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] GCC newlib problem

2004-04-01 by Robert Adsett

At 01:22 PM 4/1/04 +0100, you wrote:
>Hello,
>
>try renaming newlib-lpc.a to libnewlib-lpc.a. AFAIK ld strips the the 
>"lib" and ".a" from the library name when using the -l option.
>
>e.g When you want to include libc.a you use -lc

That should do it.  I added a note to the documentation.
>-----Original Message-----
>From: news [mailto:news@...]On Behalf Of Andreas Schwarz
>Sent: 01 April 2004 11:56
>To: lpc2000@yahoogroups.com
>Subject: [lpc2000] GCC newlib problem
>
>Hello,
>
>I downloaded newlib-lpc from
><http://www.aeolusdevelopment.com/Articles/download.html,>http://www.aeolusdevelopment.com/Articles/download.html, 
>changed paths
>in the makefile and linker script, replaced <unistd.h> with
><sys/unistd.h>, and was finally able to build the newlib-lpc.a. But

I'll take a look at that for the next update.

Robert


" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.