diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-05 02:41:11 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-05 02:41:11 +0400 |
commit | 6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9 (patch) | |
tree | 04c16a09dc72fc5f5379865a9916b2ec8c8f4616 /newlib/Makefile.in | |
parent | 244a8fae426a68ad51cd610cebd1361a834d676a (diff) |
2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Add support for installing crt1.o if one exists.
* configure.host: Specify crt1.o for linux.
* configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
* Makefile.in: Regenerated.
* configure: Ditto.
* libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
Added for non-Cygwin, non-RTEMS configurations.
* libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/crt1.c: New empty file to override one defaulted
by gcc. This fixes problem with reconfiguring linux newlib build.
* libc/sys/linux/sysconf.c: New file.
Diffstat (limited to 'newlib/Makefile.in')
-rw-r--r-- | newlib/Makefile.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/newlib/Makefile.in b/newlib/Makefile.in index 6c0845c6d..cafce533c 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -67,6 +67,8 @@ CC_FOR_BUILD = @CC_FOR_BUILD@ CPP = @CPP@ CRT0 = @CRT0@ CRT0_DIR = @CRT0_DIR@ +CRT1 = @CRT1@ +CRT1_DIR = @CRT1_DIR@ DLLTOOL = @DLLTOOL@ EXEEXT = @EXEEXT@ LDFLAGS = @LDFLAGS@ @@ -164,7 +166,7 @@ AR_FLAGS = rc noinst_DATA = stmp-targ-include -toollib_DATA = $(CRT0) +toollib_DATA = $(CRT0) $(CRT1) # The functions ldexp, frexp and modf are traditionally supplied in # both libc.a and libm.a. We build them in libm.a and copy them over, @@ -678,6 +680,13 @@ crt0.o: $(CRT0_DIR)/$(CRT0) $(CRT0_DIR)/$(CRT0): ; @true +crt1.o: $(CRT1_DIR)/$(CRT1) + rm -f $@ + ln $(CRT0_DIR)/$(CRT0) $@ >/dev/null 2>/dev/null \ + || cp $(CRT0_DIR)/$(CRT0) $@ + +$(CRT1_DIR)/$(CRT1): ; @true + all-recursive: stmp-targ-include # The targ-include directory just holds the includes files for the |