2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
* configure.host: Allow i[34567]86 variant. * configure.in: Likewise. * README: Likewise to the docs. * configure: Regenerated. * Makefile.in: Ditto.
This commit is contained in:
parent
ad767835c9
commit
102861c9a6
|
@ -1,3 +1,11 @@
|
|||
2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
|
||||
|
||||
* configure.host: Allow i[34567]86 variant.
|
||||
* configure.in: Likewise.
|
||||
* README: Likewise to the docs.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Ditto.
|
||||
|
||||
2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
|
||||
Tom Fitzsimmons <fitzsim@redhat.com>
|
||||
|
||||
|
|
|
@ -275,7 +275,7 @@ Shared newlib
|
|||
=============
|
||||
|
||||
newlib uses libtool when it is being compiled natively (with
|
||||
--target=i[3456]86-pc-linux-gnu) on an i[3456]86-pc-linux-gnu
|
||||
--target=i[34567]86-pc-linux-gnu) on an i[34567]86-pc-linux-gnu
|
||||
host. This allows newlib to be compiled as a shared library.
|
||||
|
||||
To configure newlib, do the following from your build directory:
|
||||
|
@ -283,12 +283,12 @@ To configure newlib, do the following from your build directory:
|
|||
$(source_dir)/src/configure --with-newlib --prefix=$(install_dir)
|
||||
|
||||
configure will recognize that host == target ==
|
||||
i[3456]86-pc-linux-gnu, so it will tell newlib to compile itself using
|
||||
i[34567]86-pc-linux-gnu, so it will tell newlib to compile itself using
|
||||
libtool. By default, libtool will build shared and static versions of
|
||||
newlib.
|
||||
|
||||
To compile a program against shared newlib, do the following (where
|
||||
target_install_dir = $(install_dir)/i[3456]86-pc-linux-gnu):
|
||||
target_install_dir = $(install_dir)/i[34567]86-pc-linux-gnu):
|
||||
|
||||
gcc -nostdlib $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm -lgcc
|
||||
|
||||
|
|
|
@ -3091,7 +3091,7 @@ fi
|
|||
|
||||
EXTRA_DIRS=
|
||||
case $host in
|
||||
i345686-pc-linux-*)
|
||||
i[34567]86-pc-linux-*)
|
||||
configdirs="${configdirs} iconvdata"
|
||||
EXTRA_DIRS=iconvdata
|
||||
;;
|
||||
|
|
|
@ -115,7 +115,7 @@ case "${host_cpu}" in
|
|||
i960)
|
||||
machine_dir=i960
|
||||
;;
|
||||
i[3456]86)
|
||||
i[34567]86)
|
||||
# Don't use for these since they provide their own setjmp.
|
||||
case ${host} in
|
||||
*-*-sco* | *-*-cygwin*)
|
||||
|
@ -242,7 +242,7 @@ fi
|
|||
|
||||
if [ "x${newlib_mb}" = "x" ]; then
|
||||
case "${host}" in
|
||||
i[3456]86-pc-linux-*|*-*-cygwin*)
|
||||
i[34567]86-pc-linux-*|*-*-cygwin*)
|
||||
newlib_mb=yes
|
||||
;;
|
||||
esac
|
||||
|
@ -269,7 +269,7 @@ fi
|
|||
# support shared libraries. This is because it adds executable tests which
|
||||
# we don't want for most embedded platforms.
|
||||
case "${host}" in
|
||||
i[3456]86-pc-linux-*)
|
||||
i[34567]86-pc-linux-*)
|
||||
use_libtool=yes
|
||||
have_sys_mach_dir=yes
|
||||
stdio64_dir=stdio64
|
||||
|
@ -334,11 +334,11 @@ case "${host}" in
|
|||
h8500-*-elf*)
|
||||
sys_dir=h8500hms
|
||||
;;
|
||||
i[3456]86-*-sco*)
|
||||
i[34567]86-*-sco*)
|
||||
sys_dir=sysvi386
|
||||
unix_dir=unix
|
||||
;;
|
||||
i[3456]86-pc-linux-*)
|
||||
i[34567]86-pc-linux-*)
|
||||
sys_dir=linux
|
||||
unix_dir=unix
|
||||
posix_dir=posix
|
||||
|
@ -509,10 +509,10 @@ case "${host}" in
|
|||
syscall_dir=syscalls
|
||||
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
|
||||
;;
|
||||
i[3456]86-*-sco*)
|
||||
i[34567]86-*-sco*)
|
||||
newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DHAVE_FCNTL"
|
||||
;;
|
||||
i[3456]86-*-netware*)
|
||||
i[34567]86-*-netware*)
|
||||
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -DNO_EXEC -DABORT_PROVIDED -DCLOCK_PROVIDED -DMALLOC_PROVIDED -DHAVE_FCNTL"
|
||||
;;
|
||||
m32r-*-*)
|
||||
|
|
|
@ -52,7 +52,7 @@ AM_CONDITIONAL(HAVE_DOC, test x$have_doc = xyes)
|
|||
|
||||
EXTRA_DIRS=
|
||||
case $host in
|
||||
i[3456]86-pc-linux-*)
|
||||
i[[34567]]86-pc-linux-*)
|
||||
configdirs="${configdirs} iconvdata"
|
||||
EXTRA_DIRS=iconvdata
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue