This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
cannot find the library `sys/linux/liblinux.la
- From: Jeroen Hofstee <dasuboot at myspectrum dot nl>
- To: newlib at sourceware dot org
- Date: Sat, 14 Apr 2012 22:54:18 +0200
- Subject: cannot find the library `sys/linux/liblinux.la
Hi,
I am trying to add newlib for a new target. Since the target does not
support debugging, I though
it would be easier to first test on a pc, and thereafter test the target.
However, I ran into some issues on:
Linux laptop-xubunutu 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21
UTC 2012 i686 i686 i386 GNU/Linux
make[6]: Entering directory
`/software/siwi/siwi_toolchain/i686-linux-gnu_build_newlib/i686-linux-gnu/newlib/libc'
/bin/bash ./libtool --tag=CC --mode=link gcc
-I/home/jeroen/software/siwi/siwi_toolchain/i686-linux-gnu_build_newlib/i686-linux-gnu/newlib/targ-include
-I/home/jeroen/software/siwi/siwi_toolchain/newlib/newlib/libc/include
-g -fno-stack-protector -Xcompiler -nostdlib -o libc.la
argz/libargz.la stdlib/libstdlib.la ctype/libctype.la
search/libsearch.la stdio/libstdio.la stdio64/libstdio64.la
string/libstring.la signal/libsignal.la time/libtime.la
locale/liblocale.la reent/libreent.la errno/liberrno.la misc/libmisc.la
unix/libunix.la posix/libposix.la machine/i386/libi386.la
sys/linux/liblinux.la
libtool: link: cannot find the library `sys/linux/liblinux.la' or
unhandled argument `sys/linux/liblinux.la'
This seems related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654257
but their patch contains $(DEB_HOST_MULTIARCH), which seems like a
specific patch.
Anyone any idea why I get this error / how to fix it?
Regards,
Jeroen Hofstee
Attachment:
Makefile
Description: Text document