diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-04 22:41:11 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-04 22:41:11 +0000 |
commit | 6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9 (patch) | |
tree | 04c16a09dc72fc5f5379865a9916b2ec8c8f4616 /newlib/Makefile.am | |
parent | 244a8fae426a68ad51cd610cebd1361a834d676a (diff) | |
download | cygnal-6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9.tar.gz cygnal-6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9.tar.bz2 cygnal-6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9.zip |
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.am')
-rw-r--r-- | newlib/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am index be01388ae..4d0028db1 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -79,7 +79,7 @@ endif noinst_DATA = stmp-targ-include -toollib_DATA = $(CRT0) +toollib_DATA = $(CRT0) $(CRT1) # The functions ldexp, frexp and modf are traditionally supplied in @@ -169,6 +169,14 @@ 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 |