bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Libiberty configure & cross-compiler


From: Olivier Carmona
Subject: Libiberty configure & cross-compiler
Date: Wed, 24 Jul 2002 14:14:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Dear Sir,

I am afraid that there is a bug in the configure file of the libiberty file coming with gcc3.1

As you can see below, there is no test done to skip or to survive the "create executables" test if you have a cross-compiler.

Line 3668 of libiberty/configure:
---
...
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
{ 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
..
---

Best regards,

--
Olivier Carmona
__ __ ________ K-Team S.A. | |/ /|__ __|___ _____ ___ ___ Chemin de Vuasset, CP 111 | / __ | | _____|/ _ \| \/ | 1028 Preverenges | | \ | | ____|/ /_\ | |
Switzerland                |__|\__\   |__|______|_/   \_|__|\/|__|
address@hidden         tel:+41 21 802 5472 fax:+41 21 802 5471





reply via email to

[Prev in Thread] Current Thread [Next in Thread]