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.
This commit is contained in:
Jeff Johnston
2002-04-04 22:41:11 +00:00
parent 244a8fae42
commit 6e6cd5bde6
11 changed files with 453 additions and 11 deletions

7
newlib/configure vendored
View File

@ -2371,6 +2371,11 @@ fi
CRT1=${crt1}
CRT1_DIR=${crt1_dir}
if test -n "${libm_machine_dir}"; then
LIBM_MACHINE_OBJECTLIST=libm/machine/${libm_machine_dir}/objectlist.awk.in
fi
@ -2623,6 +2628,8 @@ s%@HAVE_DOC_FALSE@%$HAVE_DOC_FALSE%g
s%@subdirs@%$subdirs%g
s%@CRT0@%$CRT0%g
s%@CRT0_DIR@%$CRT0_DIR%g
s%@CRT1@%$CRT1%g
s%@CRT1_DIR@%$CRT1_DIR%g
s%@LIBM_MACHINE_OBJECTLIST@%$LIBM_MACHINE_OBJECTLIST%g
s%@MACHINE_OBJECTLIST@%$MACHINE_OBJECTLIST%g
s%@SYS_OBJECTLIST@%$SYS_OBJECTLIST%g