Bill Cunningham wrote:
> Andrew Benton wrote:
>> On Thu, 21 Jul 2011 11:26:35 -0400
>> "Bill Cunningham" <[email protected]> wrote:
>>
>>>     I keep getting error concerning libquadmath. Here's a snippet of
>>> error code.
>>>
>>> /gcc-4.6.0/libgcc/../gcc/crtstuff.c:575:25: warning: array subscript
>>> is below array bounds [-Warray-bounds]
>>> configure: error: Link tests are not allowed after
>>> GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libquadmath]
>>> Error 1 
>>> make: *** [all] Error 2
>>>
>> If you followed the book you would have configured gcc with
>> --disable-libquadmath so you would not be seeing this error.
>> Follow the book.
> 
>     I saw nowhere in the book anything about libquadmath.

Which version of the book?  I don't think you ever said.  The stable 
version of the book calls for GCC-4.5.2, but it appears that you are 
using gcc-4.6.0.  The instructions changed when going from 4.5->4.6.

LFS 6.8:

../gcc-4.5.2/configure \
     --target=$LFS_TGT --prefix=/tools \
     --disable-nls --disable-shared --disable-multilib \
     --disable-decimal-float --disable-threads \
     --disable-libmudflap --disable-libssp \
     --disable-libgomp --enable-languages=c \
     --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
     --without-ppl --without-cloog

LFS svn:

../gcc-4.6.1/configure \
     --target=$LFS_TGT --prefix=/tools \
     --disable-nls --disable-shared --disable-multilib \
     --disable-decimal-float --disable-threads \
     --disable-libmudflap --disable-libssp \
     --disable-libgomp --disable-libquadmath \            <------------
     --disable-target-libiberty --disable-target-zlib \
     --enable-languages=c --without-ppl --without-cloog

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to