gcc 3.4 build failed cygwin->i386-unknown-nto-qnx61

Ion Gaztañaga ion_g_m@terra.es
Sat Apr 24 13:27:00 GMT 2004


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



More information about the Gcc mailing list