* libiberty patch - configure/makefile for cygwin
@ 2000-05-30 19:35 DJ Delorie
2000-06-13 19:35 ` Jeffrey A Law
0 siblings, 1 reply; 7+ messages in thread
From: DJ Delorie @ 2000-05-30 19:35 UTC (permalink / raw)
To: newlib, gcc-patches, binutils
This patch is designed to fix two bugs in cygwin builds: the first
that libiberty include strsignal when building *with* cygwin (cygwin's
runtime already includes a strsignal()), and the second to use headers
in the local source area if possible (newlib's string.h has a fix
needed by strsignal.c, and building cygwin always uses both libiberty
and newlib). I'm sending to multiple lists because it needs approval
from gcc (the master cvs), but I need to commit the patch to the
newlib/binutils repository to fix the cygwin builds.
2000-05-30 DJ Delorie <dj@cygnus.com>
* Makefile.in: add EXTRA_INCS to support referencing local
newlib headers
* configure.in: Target builds with --with-newlib should use
the local newlib headers, not the installed ones. Cygwin
exceptions are only for target builds, not host builds
* configure: regenerate
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/libiberty/Makefile.in,v
retrieving revision 1.46
diff -p -3 -r1.46 Makefile.in
*** Makefile.in 2000/05/30 21:06:31 1.46
--- Makefile.in 2000/05/31 02:32:20
*************** installcheck: installcheck-subdir
*** 106,112 ****
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
! COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
.c.o:
if [ x"$(PICFLAG)" != x ]; then \
$(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
--- 106,112 ----
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
! COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) @EXTRA_INCS@ $(HDEFINES) @ac_libiberty_warn_cflags@
.c.o:
if [ x"$(PICFLAG)" != x ]; then \
$(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/libiberty/configure.in,v
retrieving revision 1.24
diff -p -3 -r1.24 configure.in
*** configure.in 2000/04/28 01:42:43 1.24
--- configure.in 2000/05/31 02:32:22
*************** if test -n "${with_target_subdir}"; then
*** 216,221 ****
--- 216,226 ----
setobjs=yes
+ if test -d ${libiberty_topdir}/newlib
+ then
+ EXTRA_INCS="-I${libiberty_topdir}/newlib/libc/include"
+ fi
+
fi
else
*************** else
*** 225,230 ****
--- 230,236 ----
fi
+ AC_SUBST(EXTRA_INCS)
AC_SUBST(CHECK)
if test -z "${setobjs}"; then
*************** if test -z "${setobjs}"; then
*** 276,286 ****
# We handle this by removing the functions the winsup library
# provides from our shell variables, so that they appear to be
# missing.
! funcs="`echo $funcs | sed -e 's/random//'`"
! LIBOBJS="$LIBOBJS random.o"
! vars="`echo $vars | sed -e 's/sys_siglist//'`"
! checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
;;
*-*-mingw32*)
--- 282,297 ----
# We handle this by removing the functions the winsup library
# provides from our shell variables, so that they appear to be
# missing.
+
+ # DJ - only if we're *building* cygwin, not just building *with* cygwin
! if test -n "${with_target_subdir}"
! then
! funcs="`echo $funcs | sed -e 's/random//'`"
! LIBOBJS="$LIBOBJS random.o"
! vars="`echo $vars | sed -e 's/sys_siglist//'`"
! checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
! fi
;;
*-*-mingw32*)
Index: configure
===================================================================
RCS file: /cvs/gcc/egcs/libiberty/configure,v
retrieving revision 1.21
diff -p -3 -r1.21 configure
*** configure 2000/04/28 01:42:43 1.21
--- configure 2000/05/31 02:32:21
*************** program_suffix=NONE
*** 34,39 ****
--- 34,40 ----
program_transform_name=s,x,x,
silent=
site=
+ sitefile=
srcdir=
target=NONE
verbose=
*************** Configuration:
*** 148,153 ****
--- 149,155 ----
--help print this message
--no-create do not create output files
--quiet, --silent do not print \`checking...' messages
+ --site-file=FILE use FILE as the site file
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
*************** EOF
*** 318,323 ****
--- 320,330 ----
-site=* | --site=* | --sit=*)
site="$ac_optarg" ;;
+ -site-file | --site-file | --site-fil | --site-fi | --site-f)
+ ac_prev=sitefile ;;
+ -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
+ sitefile="$ac_optarg" ;;
+
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
*************** fi
*** 483,494 ****
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones.
! if test -z "$CONFIG_SITE"; then
! if test "x$prefix" != xNONE; then
! CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! else
! CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
--- 490,505 ----
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones.
! if test -z "$sitefile"; then
! if test -z "$CONFIG_SITE"; then
! if test "x$prefix" != xNONE; then
! CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! else
! CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! fi
fi
+ else
+ CONFIG_SITE="$sitefile"
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
*************** else { echo "configure: error: can not r
*** 587,593 ****
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:591: checking host system type" >&5
host_alias=$host
case "$host_alias" in
--- 598,604 ----
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:602: checking host system type" >&5
host_alias=$host
case "$host_alias" in
*************** echo "$ac_t""$host" 1>&6
*** 610,616 ****
echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:614: checking build system type" >&5
build_alias=$build
case "$build_alias" in
--- 621,627 ----
echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:625: checking build system type" >&5
build_alias=$build
case "$build_alias" in
*************** fi
*** 636,642 ****
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:640: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 647,653 ----
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:651: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** fi
*** 668,674 ****
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:672: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 679,685 ----
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:683: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** if test -n "$ac_tool_prefix"; then
*** 700,706 ****
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:704: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 711,717 ----
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:715: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** fi
*** 746,752 ****
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:750: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 757,763 ----
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:761: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** if test -z "$CC"; then
*** 776,782 ****
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:780: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 787,793 ----
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:791: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** fi
*** 825,831 ****
fi
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:829: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 836,842 ----
fi
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:840: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 834,840 ****
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
--- 845,851 ----
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
*************** if test $ac_cv_prog_gcc = yes; then
*** 850,856 ****
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:854: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 861,867 ----
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:865: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** fi
*** 880,886 ****
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
! echo "configure:884: checking for POSIXized ISC" >&5
if test -d /etc/conf/kconfig.d &&
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
--- 891,897 ----
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
! echo "configure:895: checking for POSIXized ISC" >&5
if test -d /etc/conf/kconfig.d &&
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
*************** fi
*** 918,924 ****
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:922: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 929,935 ----
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:933: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
*************** host_makefile_frag=${frag}
*** 979,985 ****
# able to link anything, it had better be able to at least compile
# something.
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:983: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
--- 990,996 ----
# able to link anything, it had better be able to at least compile
# something.
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:994: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
*************** else
*** 994,1006 ****
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
! #line 998 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 1005,1017 ----
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
! #line 1009 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
*************** else
*** 1011,1023 ****
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
! #line 1015 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 1022,1034 ----
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
! #line 1026 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
*************** else
*** 1028,1040 ****
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
! #line 1032 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 1039,1051 ----
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
! #line 1043 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
*************** for ac_hdr in sys/file.h sys/param.h std
*** 1062,1078 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:1066: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1071 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 1073,1089 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:1077: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1082 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 1099,1110 ****
done
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
! echo "configure:1103: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1108 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
--- 1110,1121 ----
done
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
! echo "configure:1114: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1119 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
*************** wait (&s);
*** 1120,1126 ****
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
! if { (eval echo configure:1124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
--- 1131,1137 ----
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
! if { (eval echo configure:1135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
*************** if test "x" = "y"; then
*** 1196,1207 ****
for ac_func in asprintf atexit basename bcmp bcopy bzero calloc clock getcwd
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1200: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1205 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1207,1218 ----
for ac_func in asprintf atexit basename bcmp bcopy bzero calloc clock getcwd
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1211: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1216 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1224,1230 ****
; return 0; }
EOF
! if { (eval echo configure:1228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1235,1241 ----
; return 0; }
EOF
! if { (eval echo configure:1239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 1251,1262 ****
for ac_func in getpagesize index insque mkstemps memchr memcmp memcpy memmove
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1255: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1260 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1262,1273 ----
for ac_func in getpagesize index insque mkstemps memchr memcmp memcpy memmove
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1266: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1271 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1279,1285 ****
; return 0; }
EOF
! if { (eval echo configure:1283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1290,1296 ----
; return 0; }
EOF
! if { (eval echo configure:1294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 1306,1317 ****
for ac_func in memset putenv random rename rindex sigsetmask strcasecmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1310: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1315 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1317,1328 ----
for ac_func in memset putenv random rename rindex sigsetmask strcasecmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1321: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1326 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1334,1340 ****
; return 0; }
EOF
! if { (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1345,1351 ----
; return 0; }
EOF
! if { (eval echo configure:1349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 1361,1372 ****
for ac_func in setenv strchr strdup strncasecmp strrchr strstr strtod strtol
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1365: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1370 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1372,1383 ----
for ac_func in setenv strchr strdup strncasecmp strrchr strstr strtod strtol
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1376: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1381 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1389,1395 ****
; return 0; }
EOF
! if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1400,1406 ----
; return 0; }
EOF
! if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 1416,1427 ****
for ac_func in strtoul tmpnam vasprintf vfprintf vprintf vsprintf waitpid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1420: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1425 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1427,1438 ----
for ac_func in strtoul tmpnam vasprintf vfprintf vprintf vsprintf waitpid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1431: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1436 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1444,1450 ****
; return 0; }
EOF
! if { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1455,1461 ----
; return 0; }
EOF
! if { (eval echo configure:1459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** EOF
*** 1483,1494 ****
for ac_func in getrusage on_exit psignal strerror strsignal sysconf times
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1487: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1492 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1494,1505 ----
for ac_func in getrusage on_exit psignal strerror strsignal sysconf times
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1498: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1503 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1511,1517 ****
; return 0; }
EOF
! if { (eval echo configure:1515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1522,1528 ----
; return 0; }
EOF
! if { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 1538,1549 ****
for ac_func in sbrk gettimeofday
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1542: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1547 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1549,1560 ----
for ac_func in sbrk gettimeofday
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1553: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1558 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1566,1572 ****
; return 0; }
EOF
! if { (eval echo configure:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1577,1583 ----
; return 0; }
EOF
! if { (eval echo configure:1581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** EOF
*** 1638,1643 ****
--- 1649,1659 ----
setobjs=yes
+ if test -d ${libiberty_topdir}/newlib
+ then
+ EXTRA_INCS="-I${libiberty_topdir}/newlib/libc/include"
+ fi
+
fi
else
*************** fi
*** 1649,1654 ****
--- 1665,1671 ----
+
if test -z "${setobjs}"; then
case "${host}" in
*************** if test -z "${setobjs}"; then
*** 1705,1714 ****
# provides from our shell variables, so that they appear to be
# missing.
! funcs="`echo $funcs | sed -e 's/random//'`"
! LIBOBJS="$LIBOBJS random.o"
! vars="`echo $vars | sed -e 's/sys_siglist//'`"
! checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
;;
*-*-mingw32*)
--- 1722,1736 ----
# provides from our shell variables, so that they appear to be
# missing.
! # DJ - only if we're *building* cygwin, not just building *with* cygwin
!
! if test -n "${with_target_subdir}"
! then
! funcs="`echo $funcs | sed -e 's/random//'`"
! LIBOBJS="$LIBOBJS random.o"
! vars="`echo $vars | sed -e 's/sys_siglist//'`"
! checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
! fi
;;
*-*-mingw32*)
*************** EOF
*** 1748,1754 ****
# We haven't set the list of objects yet. Use the standard autoconf
# tests. This will only work if the compiler works.
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
--- 1770,1776 ----
# We haven't set the list of objects yet. Use the standard autoconf
# tests. This will only work if the compiler works.
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
*************** cross_compiling=$ac_cv_prog_cc_cross
*** 1759,1770 ****
cat > conftest.$ac_ext << EOF
! #line 1763 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
--- 1781,1792 ----
cat > conftest.$ac_ext << EOF
! #line 1785 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
*************** if test $ac_cv_prog_cc_works = no; then
*** 1790,1808 ****
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1794: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
for ac_func in $funcs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1801: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1806 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 1812,1830 ----
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
for ac_func in $funcs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1823: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1828 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 1825,1831 ****
; return 0; }
EOF
! if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1847,1853 ----
; return 0; }
EOF
! if { (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** EOF
*** 1872,1890 ****
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
! echo "configure:1876: checking for working alloca.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1881 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
! if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
--- 1894,1912 ----
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
! echo "configure:1898: checking for working alloca.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1903 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
! if { (eval echo configure:1910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
*************** EOF
*** 1905,1916 ****
fi
echo $ac_n "checking for alloca""... $ac_c" 1>&6
! echo "configure:1909: checking for alloca" >&5
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1914 "configure"
#include "confdefs.h"
#ifdef __GNUC__
--- 1927,1938 ----
fi
echo $ac_n "checking for alloca""... $ac_c" 1>&6
! echo "configure:1931: checking for alloca" >&5
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1936 "configure"
#include "confdefs.h"
#ifdef __GNUC__
*************** int main() {
*** 1938,1944 ****
char *p = (char *) alloca(1);
; return 0; }
EOF
! if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_alloca_works=yes
else
--- 1960,1966 ----
char *p = (char *) alloca(1);
; return 0; }
EOF
! if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_alloca_works=yes
else
*************** EOF
*** 1970,1981 ****
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
! echo "configure:1974: checking whether alloca needs Cray hooks" >&5
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1979 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
--- 1992,2003 ----
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
! echo "configure:1996: checking whether alloca needs Cray hooks" >&5
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2001 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
*************** echo "$ac_t""$ac_cv_os_cray" 1>&6
*** 2000,2011 ****
if test $ac_cv_os_cray = yes; then
for ac_func in _getb67 GETB67 getb67; do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2004: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2009 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 2022,2033 ----
if test $ac_cv_os_cray = yes; then
for ac_func in _getb67 GETB67 getb67; do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2026: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2031 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 2028,2034 ****
; return 0; }
EOF
! if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 2050,2056 ----
; return 0; }
EOF
! if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 2055,2061 ****
fi
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
! echo "configure:2059: checking stack direction for C alloca" >&5
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2077,2083 ----
fi
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
! echo "configure:2081: checking stack direction for C alloca" >&5
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 2063,2069 ****
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
! #line 2067 "configure"
#include "confdefs.h"
find_stack_direction ()
{
--- 2085,2091 ----
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
! #line 2089 "configure"
#include "confdefs.h"
find_stack_direction ()
{
*************** main ()
*** 2082,2088 ****
exit (find_stack_direction() < 0);
}
EOF
! if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_stack_direction=1
else
--- 2104,2110 ----
exit (find_stack_direction() < 0);
}
EOF
! if { (eval echo configure:2108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_stack_direction=1
else
*************** fi
*** 2107,2118 ****
esac
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:2111: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2116 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
--- 2129,2140 ----
esac
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:2133: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2138 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
*************** else
*** 2120,2126 ****
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 2142,2148 ----
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** rm -f conftest*
*** 2137,2143 ****
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 2141 "configure"
#include "confdefs.h"
#include <string.h>
EOF
--- 2159,2165 ----
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 2163 "configure"
#include "confdefs.h"
#include <string.h>
EOF
*************** fi
*** 2155,2161 ****
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 2159 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 2177,2183 ----
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 2181 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
*************** if test "$cross_compiling" = yes; then
*** 2176,2182 ****
:
else
cat > conftest.$ac_ext <<EOF
! #line 2180 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
--- 2198,2204 ----
:
else
cat > conftest.$ac_ext <<EOF
! #line 2202 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
*************** if (XOR (islower (i), ISLOWER (i)) || to
*** 2187,2193 ****
exit (0); }
EOF
! if { (eval echo configure:2191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
--- 2209,2215 ----
exit (0); }
EOF
! if { (eval echo configure:2213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
*************** EOF
*** 2211,2222 ****
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:2215: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2220 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 2233,2244 ----
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:2237: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2242 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
*************** fi
*** 2245,2261 ****
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:2249: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2254 "configure"
#include "confdefs.h"
#include <vfork.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 2267,2283 ----
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:2271: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2276 "configure"
#include "confdefs.h"
#include <vfork.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** else
*** 2280,2297 ****
fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:2284: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:2290: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2295 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
--- 2302,2319 ----
fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:2306: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:2312: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2317 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
*************** vfork();
*** 2314,2320 ****
; return 0; }
EOF
! if { (eval echo configure:2318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
--- 2336,2342 ----
; return 0; }
EOF
! if { (eval echo configure:2340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
*************** fi
*** 2336,2342 ****
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <<EOF
! #line 2340 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
--- 2358,2364 ----
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <<EOF
! #line 2362 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
*************** main() {
*** 2431,2437 ****
}
}
EOF
! if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
--- 2453,2459 ----
}
}
EOF
! if { (eval echo configure:2457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
*************** fi
*** 2458,2476 ****
fi
for v in $vars; do
echo $ac_n "checking for $v""... $ac_c" 1>&6
! echo "configure:2462: checking for $v" >&5
if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2467 "configure"
#include "confdefs.h"
int *p;
int main() {
extern int $v; p = &$v;
; return 0; }
EOF
! if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "libiberty_cv_var_$v=yes"
else
--- 2480,2498 ----
fi
for v in $vars; do
echo $ac_n "checking for $v""... $ac_c" 1>&6
! echo "configure:2484: checking for $v" >&5
if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2489 "configure"
#include "confdefs.h"
int *p;
int main() {
extern int $v; p = &$v;
; return 0; }
EOF
! if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "libiberty_cv_var_$v=yes"
else
*************** EOF
*** 2496,2507 ****
for ac_func in $checkfuncs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2500: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2505 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 2518,2529 ----
for ac_func in $checkfuncs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2522: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2527 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** $ac_func();
*** 2524,2530 ****
; return 0; }
EOF
! if { (eval echo configure:2528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 2546,2552 ----
; return 0; }
EOF
! if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** s%@INSTALL_DATA@%$INSTALL_DATA%g
*** 3071,3076 ****
--- 3093,3099 ----
/@host_makefile_frag@/r $host_makefile_frag
s%@host_makefile_frag@%%g
s%@CPP@%$CPP%g
+ s%@EXTRA_INCS@%$EXTRA_INCS%g
s%@CHECK@%$CHECK%g
s%@LIBOBJS@%$LIBOBJS%g
s%@ALLOCA@%$ALLOCA%g
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libiberty patch - configure/makefile for cygwin
2000-05-30 19:35 libiberty patch - configure/makefile for cygwin DJ Delorie
@ 2000-06-13 19:35 ` Jeffrey A Law
2000-06-13 20:24 ` DJ Delorie
0 siblings, 1 reply; 7+ messages in thread
From: Jeffrey A Law @ 2000-06-13 19:35 UTC (permalink / raw)
To: DJ Delorie; +Cc: newlib, gcc-patches, binutils
In message <200005310235.WAA14140@envy.delorie.com>you write:
>
> This patch is designed to fix two bugs in cygwin builds: the first
> that libiberty include strsignal when building *with* cygwin (cygwin's
> runtime already includes a strsignal()), and the second to use headers
> in the local source area if possible (newlib's string.h has a fix
> needed by strsignal.c, and building cygwin always uses both libiberty
> and newlib). I'm sending to multiple lists because it needs approval
> from gcc (the master cvs), but I need to commit the patch to the
> newlib/binutils repository to fix the cygwin builds.
>
> 2000-05-30 DJ Delorie <dj@cygnus.com>
>
> * Makefile.in: add EXTRA_INCS to support referencing local
> newlib headers
> * configure.in: Target builds with --with-newlib should use
> the local newlib headers, not the installed ones. Cygwin
> exceptions are only for target builds, not host builds
> * configure: regenerate
Shouldn't the EXTRA_INCs stuff already be handled by the definition of
CC_FOR_TARGET in the toplevel Makefile for target builds? Or am I missing
something?
The bits for removing strsignal, are probably OK to go ahead and check
in.
jeff
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libiberty patch - configure/makefile for cygwin
2000-06-13 19:35 ` Jeffrey A Law
@ 2000-06-13 20:24 ` DJ Delorie
2000-08-04 12:46 ` Jeffrey A Law
0 siblings, 1 reply; 7+ messages in thread
From: DJ Delorie @ 2000-06-13 20:24 UTC (permalink / raw)
To: law; +Cc: newlib, gcc-patches, binutils
> Shouldn't the EXTRA_INCs stuff already be handled by the definition
> of CC_FOR_TARGET in the toplevel Makefile for target builds? Or am
> I missing something?
You'd think so, but it doesn't when you're not also building gcc in
the same build (CC_FOR_TARGET only includes the extra incs when
.../gcc/xgcc exists). The problems I've seen are from building just
the cygwin module under cygwin. I've attached the relevent
Makefile.in code below.
I'm willing to add the includes to the second set of cases in that
snippet, but I don't know what negative effects that might have on
other builds. Plus, it prevents you from just typing "make" in the
target libiberty directory and expecting it to work.
I'm also not sure that blindly including from newlib just because it's
there is always the right thing to do; it really should reflect the
--with-newlib option.
If you cross compile from, say, Linux, it works like you'd expect.
> The bits for removing strsignal, are probably OK to go ahead and check
> in.
I don't have checkin privs for gcc.
CC_FOR_TARGET = ` \
if [ -f $$r/gcc/xgcc ] ; then \
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
case "$(target_canonical)" in \
i[3456]86-*-cygwin*) \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc; \
;; \
*) \
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
;; \
esac \
else \
echo $$r/gcc/xgcc -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -B$$r/gcc/ -isystem $(build_tooldir)/include; \
fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
else \
t='$(program_transform_name)'; echo gcc | sed -e 's/x/x/' $$t; \
fi; \
fi`
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libiberty patch - configure/makefile for cygwin
2000-06-13 20:24 ` DJ Delorie
@ 2000-08-04 12:46 ` Jeffrey A Law
2000-08-04 13:44 ` DJ Delorie
0 siblings, 1 reply; 7+ messages in thread
From: Jeffrey A Law @ 2000-08-04 12:46 UTC (permalink / raw)
To: DJ Delorie; +Cc: newlib, gcc-patches, binutils
In message <200006140324.XAA04289@envy.delorie.com>you write:
>
> > Shouldn't the EXTRA_INCs stuff already be handled by the definition
> > of CC_FOR_TARGET in the toplevel Makefile for target builds? Or am
> > I missing something?
>
> You'd think so, but it doesn't when you're not also building gcc in
> the same build (CC_FOR_TARGET only includes the extra incs when
> .../gcc/xgcc exists). The problems I've seen are from building just
> the cygwin module under cygwin.
Ah. That's the key point I was missing. I didn't even know cygwin could
be built independently of GCC, but then again I can't think of a fundamental
reason why that wouldn't work either.
> I'm willing to add the includes to the second set of cases in that
> snippet, but I don't know what negative effects that might have on
> other builds. Plus, it prevents you from just typing "make" in the
> target libiberty directory and expecting it to work.
Yea. But that's always been on the iffy side anyway. I'm actually hoping
some of Alexandre's recent work cleans this kind of thing up a little.
> I'm also not sure that blindly including from newlib just because it's
> there is always the right thing to do; it really should reflect the
> --with-newlib option.
Agreed.
> > The bits for removing strsignal, are probably OK to go ahead and check
> > in.
>
> I don't have checkin privs for gcc.
We fixed that, right :-)
So ultimately, after Alexandre's recent hackery, what is the right thing to
do to get cygwin builds working again independently of gcc?
jeff
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libiberty patch - configure/makefile for cygwin
2000-08-04 12:46 ` Jeffrey A Law
@ 2000-08-04 13:44 ` DJ Delorie
2000-08-04 14:40 ` Alexandre Oliva
2000-08-04 16:06 ` Jeffrey A Law
0 siblings, 2 replies; 7+ messages in thread
From: DJ Delorie @ 2000-08-04 13:44 UTC (permalink / raw)
To: law; +Cc: newlib, gcc-patches, binutils
> Ah. That's the key point I was missing. I didn't even know cygwin
> could be built independently of GCC, but then again I can't think of
> a fundamental reason why that wouldn't work either.
Cygwin is almost *always* built without gcc. The only time they're
built together is during Red Hat's internal everthing builds.
> So ultimately, after Alexandre's recent hackery, what is the right
> thing to do to get cygwin builds working again independently of gcc?
This patch should mean "if we're also building gcc, and it's a gcc
that will run on the build machine, we want to use its includes
instead of the system's default includes". Right?
Otherwise, the target libiberty's Makefile now includes -I's for
newlib, so that's fixed.
diff -p -3 -r1.19 configure.in
*** configure.in 2000/08/02 18:56:20 1.19
--- configure.in 2000/08/04 20:32:21
*************** case " $skipdirs " in
*** 1240,1246 ****
# If we're using a pre-built compiler (which is the case for
# Canadian crosses or when gcc isn't being built), don't discard
# standard headers.
! if test "${build}" = "${host}" && test ! -d ${topsrcdir}/gcc; then
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
fi
--- 1240,1246 ----
# If we're using a pre-built compiler (which is the case for
# Canadian crosses or when gcc isn't being built), don't discard
# standard headers.
! if test "${build}" = "${host}" && test -d ${topsrcdir}/gcc; then
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
fi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libiberty patch - configure/makefile for cygwin
2000-08-04 13:44 ` DJ Delorie
@ 2000-08-04 14:40 ` Alexandre Oliva
2000-08-04 16:06 ` Jeffrey A Law
1 sibling, 0 replies; 7+ messages in thread
From: Alexandre Oliva @ 2000-08-04 14:40 UTC (permalink / raw)
To: DJ Delorie; +Cc: law, newlib, gcc-patches, binutils
On Aug 4, 2000, DJ Delorie <dj@delorie.com> wrote:
> This patch should mean "if we're also building gcc, and it's a gcc
> that will run on the build machine, we want to use its includes
> instead of the system's default includes". Right?
Correct. Your proposed patch fixes the test so that it matches the
comment right above it. Thanks
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libiberty patch - configure/makefile for cygwin
2000-08-04 13:44 ` DJ Delorie
2000-08-04 14:40 ` Alexandre Oliva
@ 2000-08-04 16:06 ` Jeffrey A Law
1 sibling, 0 replies; 7+ messages in thread
From: Jeffrey A Law @ 2000-08-04 16:06 UTC (permalink / raw)
To: DJ Delorie; +Cc: newlib, gcc-patches, binutils
In message < 200008042044.QAA20304@envy.delorie.com >you write:
> > So ultimately, after Alexandre's recent hackery, what is the right
> > thing to do to get cygwin builds working again independently of gcc?
>
> This patch should mean "if we're also building gcc, and it's a gcc
> that will run on the build machine, we want to use its includes
> instead of the system's default includes". Right?
Yes.
> Otherwise, the target libiberty's Makefile now includes -I's for
> newlib, so that's fixed.
OK.
jeff
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-08-04 16:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-30 19:35 libiberty patch - configure/makefile for cygwin DJ Delorie
2000-06-13 19:35 ` Jeffrey A Law
2000-06-13 20:24 ` DJ Delorie
2000-08-04 12:46 ` Jeffrey A Law
2000-08-04 13:44 ` DJ Delorie
2000-08-04 14:40 ` Alexandre Oliva
2000-08-04 16:06 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).