This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
newlib 1.10.0 doesn't build setjmp.o -- Patch included
- From: Eric Norum <eric dot norum at usask dot ca>
- To: newlib at sources dot redhat dot com
- Date: Thu, 07 Feb 2002 09:26:15 -0600
- Subject: newlib 1.10.0 doesn't build setjmp.o -- Patch included
- Organization: University of Saskatchewan
When using newlib 1.10.0 on my i386-rtems target I found that setjmp.o
was not being added to the library. The problem is that the
newlib/libc/machine/i386/Makefile.in adds setjmp.S to the list of
sources, but does not add setjmp.o to the list of objects. Here's how I
fixed this.
==============================================
--- old/newlib-1.10.0/newlib/libc/machine/i386/Makefile.in Fri Feb 1
17:27:11 2002
+++ new/newlib-1.10.0/newlib/libc/machine/i386/Makefile.in Thu Feb 7
09:17:30 2002
@@ -116,12 +116,12 @@
LIBS = @LIBS@
lib_a_LIBADD =
@USE_LIBTOOL_FALSE@lib_a_OBJECTS = memchr.o memcmp.o memcpy.o memset.o
\
-@USE_LIBTOOL_FALSE@strchr.o memmove.o strlen.o
+@USE_LIBTOOL_FALSE@strchr.o memmove.o strlen.o
@MACH_ADD_SETJMP_TRUE@setjmp.o
LTLIBRARIES = $(noinst_LTLIBRARIES)
libi386_la_LIBADD =
@USE_LIBTOOL_TRUE@libi386_la_OBJECTS = memchr.lo memcmp.lo memcpy.lo \
-@USE_LIBTOOL_TRUE@memset.lo strchr.lo memmove.lo strlen.lo
+@USE_LIBTOOL_TRUE@memset.lo strchr.lo memmove.lo strlen.lo
@MACH_ADD_SETJMP_TRUE@setjmp.lo
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
$(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
===============================================
--
Eric Norum eric.norum@usask.ca
Department of Electrical Engineering Phone: (306) 966-5394
University of Saskatchewan FAX: (306) 966-5407
Saskatoon, Canada.