[Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 )

William Harrington kb0iic at berzerkula.org
Tue Jun 11 20:51:03 PDT 2013


On Jun 10, 2013, at 10:56 PM, Daniel King wrote:

> g++ -c   -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous- 
> unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual - 
> Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic- 
> macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. - 
> Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../ 
> gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include - 
> I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../ 
> libdecnumber/bid -I../libdecnumber -I../../gcc-4.8.1/gcc/../ 
> libbacktrace -DCLOOG_INT_GMP    \
>        -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c

The problem is that it isn't using the cross compiler. It's using the  
compiler from the host. Thus it is trying to use host headers and host  
libs.

Sincerely,

WIlliam Harrington
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20130611/b192707a/attachment-0001.htm>


More information about the Clfs-support mailing list