This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _ELIX_LEVEL problems


Jeff Johnston wrote:

When _ELIX_LEVEL is undefined (i.e. 0), there are no restrictions. The _ELIX_LEVEL is not supposed to always be defined in newlib.h. This allows the possibility of the maximum level (currently 4) to exclude functionality it does not wish to support and to allow future additional maximums. Conceivably, yes, the level could be set to 0 and the tests could be made to reflect it, but it seems more intuitive that if no level is being set, there are no restrictions. This vs "why does level 0 have more functionality than level 3".

P.S.: reading the Makefile*.s now with this background, I think the problem with iswspace actually comes from a simple, unrelated omission.
I'll try the attached patch now to see if that helps.
What is strange is that libc/ctype/Makefile.in claims it has been made by automake 1.9.5, yet automake 1.9.5 refuses to regenerate it - it says:
automake: `configure.ac' or `configure.in' is required



2006-05-09  J"orn Rennecke <joern.rennecke@st.com>

	* libc/ctype/Makefile.am (lib_a_SOURCES): Add $(ELIX_SOURCES) in
	!USE_LIBTOOL case.
	* libc/ctype/Makefile.in (lib_a_SOURCES): Likewise.

Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/libc/ctype/Makefile.am,v
retrieving revision 1.7
diff -p -u -r1.7 Makefile.am
--- Makefile.am	1 May 2006 22:01:00 -0000	1.7
+++ Makefile.am	9 May 2006 20:38:27 -0000
@@ -58,7 +58,7 @@ libctype_la_SOURCES = $(GENERAL_SOURCES)
 noinst_DATA = objectlist.awk.in
 else
 noinst_LIBRARIES = lib.a
-lib_a_SOURCES = $(GENERAL_SOURCES)
+lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
 lib_a_CFLAGS = $(AM_CFLAGS)
 noinst_DATA =
 endif # USE_LIBTOOL
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/newlib/libc/ctype/Makefile.in,v
retrieving revision 1.14
diff -p -u -r1.14 Makefile.in
--- Makefile.in	1 May 2006 22:01:00 -0000	1.14
+++ Makefile.in	9 May 2006 20:38:28 -0000
@@ -283,7 +283,7 @@ libctype_la_LDFLAGS = -Xcompiler -nostdl
 @USE_LIBTOOL_FALSE@noinst_DATA = 
 @USE_LIBTOOL_TRUE@noinst_DATA = objectlist.awk.in
 @USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
-@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(GENERAL_SOURCES)
+@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
 @USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
 CHEWOUT_FILES = \
 	isalnum.def	\

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]