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
-----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, 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.Message
RE: [lpc2000] GCC newlib problem
2004-04-01 by Patrick Lavin
Attachments
- No local attachments were found for this message.