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>
|
2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
Tom Fitzsimmons <fitzsim@redhat.com>
|
Tom Fitzsimmons <fitzsim@redhat.com>
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,7 @@ Shared newlib
|
||||||
=============
|
=============
|
||||||
|
|
||||||
newlib uses libtool when it is being compiled natively (with
|
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.
|
host. This allows newlib to be compiled as a shared library.
|
||||||
|
|
||||||
To configure newlib, do the following from your build directory:
|
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)
|
$(source_dir)/src/configure --with-newlib --prefix=$(install_dir)
|
||||||
|
|
||||||
configure will recognize that host == target ==
|
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
|
libtool. By default, libtool will build shared and static versions of
|
||||||
newlib.
|
newlib.
|
||||||
|
|
||||||
To compile a program against shared newlib, do the following (where
|
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
|
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=
|
EXTRA_DIRS=
|
||||||
case $host in
|
case $host in
|
||||||
i345686-pc-linux-*)
|
i[34567]86-pc-linux-*)
|
||||||
configdirs="${configdirs} iconvdata"
|
configdirs="${configdirs} iconvdata"
|
||||||
EXTRA_DIRS=iconvdata
|
EXTRA_DIRS=iconvdata
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -115,7 +115,7 @@ case "${host_cpu}" in
|
||||||
i960)
|
i960)
|
||||||
machine_dir=i960
|
machine_dir=i960
|
||||||
;;
|
;;
|
||||||
i[3456]86)
|
i[34567]86)
|
||||||
# Don't use for these since they provide their own setjmp.
|
# Don't use for these since they provide their own setjmp.
|
||||||
case ${host} in
|
case ${host} in
|
||||||
*-*-sco* | *-*-cygwin*)
|
*-*-sco* | *-*-cygwin*)
|
||||||
|
@ -242,7 +242,7 @@ fi
|
||||||
|
|
||||||
if [ "x${newlib_mb}" = "x" ]; then
|
if [ "x${newlib_mb}" = "x" ]; then
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
i[3456]86-pc-linux-*|*-*-cygwin*)
|
i[34567]86-pc-linux-*|*-*-cygwin*)
|
||||||
newlib_mb=yes
|
newlib_mb=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -269,7 +269,7 @@ fi
|
||||||
# support shared libraries. This is because it adds executable tests which
|
# support shared libraries. This is because it adds executable tests which
|
||||||
# we don't want for most embedded platforms.
|
# we don't want for most embedded platforms.
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
i[3456]86-pc-linux-*)
|
i[34567]86-pc-linux-*)
|
||||||
use_libtool=yes
|
use_libtool=yes
|
||||||
have_sys_mach_dir=yes
|
have_sys_mach_dir=yes
|
||||||
stdio64_dir=stdio64
|
stdio64_dir=stdio64
|
||||||
|
@ -334,11 +334,11 @@ case "${host}" in
|
||||||
h8500-*-elf*)
|
h8500-*-elf*)
|
||||||
sys_dir=h8500hms
|
sys_dir=h8500hms
|
||||||
;;
|
;;
|
||||||
i[3456]86-*-sco*)
|
i[34567]86-*-sco*)
|
||||||
sys_dir=sysvi386
|
sys_dir=sysvi386
|
||||||
unix_dir=unix
|
unix_dir=unix
|
||||||
;;
|
;;
|
||||||
i[3456]86-pc-linux-*)
|
i[34567]86-pc-linux-*)
|
||||||
sys_dir=linux
|
sys_dir=linux
|
||||||
unix_dir=unix
|
unix_dir=unix
|
||||||
posix_dir=posix
|
posix_dir=posix
|
||||||
|
@ -509,10 +509,10 @@ case "${host}" in
|
||||||
syscall_dir=syscalls
|
syscall_dir=syscalls
|
||||||
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
|
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
|
||||||
;;
|
;;
|
||||||
i[3456]86-*-sco*)
|
i[34567]86-*-sco*)
|
||||||
newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DHAVE_FCNTL"
|
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"
|
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -DNO_EXEC -DABORT_PROVIDED -DCLOCK_PROVIDED -DMALLOC_PROVIDED -DHAVE_FCNTL"
|
||||||
;;
|
;;
|
||||||
m32r-*-*)
|
m32r-*-*)
|
||||||
|
|
|
@ -52,7 +52,7 @@ AM_CONDITIONAL(HAVE_DOC, test x$have_doc = xyes)
|
||||||
|
|
||||||
EXTRA_DIRS=
|
EXTRA_DIRS=
|
||||||
case $host in
|
case $host in
|
||||||
i[3456]86-pc-linux-*)
|
i[[34567]]86-pc-linux-*)
|
||||||
configdirs="${configdirs} iconvdata"
|
configdirs="${configdirs} iconvdata"
|
||||||
EXTRA_DIRS=iconvdata
|
EXTRA_DIRS=iconvdata
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue