Yahoo Groups archive

Lpc2000

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

Message

Re: GCC newlib problem

2004-04-01 by a_s_3_3

--- In lpc2000@yahoogroups.com, "Patrick Lavin" <patrick.lavin@a...>
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.

Of course, I didn't think of that. Thanks!

Andreas

> e.g When you want to include libc.a you use -lc
>   -----Original Message-----
>   From: news [mailto:news@s...]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, 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
>   building the examples fails with the message "arm-elf-ld: cannot find
>   -lnewlib-lpc", although the file is in /tmp/newlib and I have
>   SEARCH_DIR( /tmp/newlib) in the linker script.
> 
>   Any hints?
>   Thanks
> 
> 
> 
>
----------------------------------------------------------------------------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/lpc2000/
> 
>     b.. To unsubscribe from this group, send an email to:
>     lpc2000-unsubscribe@yahoogroups.com
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.

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.