This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 3.4 build failed cygwin->i386-unknown-nto-qnx61
- From: Ion Gaztañaga <ion_g_m at terra dot es>
- To: <gcc at gcc dot gnu dot org>
- Date: Sat, 24 Apr 2004 14:06:17 +0200
- Subject: gcc 3.4 build failed cygwin->i386-unknown-nto-qnx61
Hello to all,
I don't know if this is the correct mailing list for this, so forgive me if
I'm doing wrong sending this.
I've downloaded gcc 3.4 and tried to make a cross compiler with latest
cygwin to qnx 6.1. Everything fine with binutils 2.14, but while building
gcc i receive an error after some building time:
>> checking for main in -lm... configure: error: Link tests are not allowed
after GCC_NO_EXECUTABLES.
//*********** script begin ******************//
The build script is:
target=i386-unknown-nto-qnx6.1
basedir=`pwd`
dir=/usr/gcc
export PATH=$dir/bin:$PATH
rm -rf win32/$target
mkdir -p win32/$target
cd win32/$target
if $basedir/configure \
--verbose \
--srcdir=$basedir \
--target=$target \
--prefix=$dir \
--exec-prefix=$dir \
--with-local-prefix=$dir \
--enable-languages=c,c++ \
then
else
echo "Configure Failed!"
exit 1
fi
rm -rf ${basedir}/win32/${target}/${target}
make all install
//*********** script end ******************//
Have I forgotten any necessary configuration option?
Thank you very much
Ion