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

View File

@ -35,6 +35,8 @@
# use_libtool flag: use libtool to build newlib?
# aext library extension - needed for libtool support
# oext object file extension - needed for libtool support
# crt1 name of crt1 object if one is provided
# crt1_dir directory where crt1 object is found
newlib_cflags=
libm_machine_dir=
@ -45,6 +47,8 @@ signal_dir=signal
syscall_dir=
unix_dir=
mach_add_setjmp=
crt1=
crt1_dir=
use_libtool=no
have_sys_mach_dir=no
aext=a
@ -291,6 +295,8 @@ case "${host}" in
sys_dir=linux
unix_dir=unix
posix_dir=posix
crt1=crt1.o
crt1_dir=libc/sys/${sys_dir}
gcc_dir=`gcc -print-search-dirs | awk '/^install:/{print $2}'`
#newlib_cflags="${newlib_cflags} -Werror" # DEBUGGING ONLY;BREAKS BUILD
newlib_cflags="${newlib_cflags} -Wall"