<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 06/11/2013 06:35 PM, Martin Ward
wrote:<br>
</div>
<blockquote cite="mid:51B7A628.1090203@ntlworld.com" type="cite">On
11/06/13 22:35, Daniel King wrote:
<br>
<blockquote type="cite">On 06/11/2013 01:44 PM, Martin Ward wrote:
<br>
<blockquote type="cite">On 11/06/13 16:14, William Harrington
wrote:
<br>
<blockquote type="cite">
<br>
On Jun 10, 2013, at 10:56 PM, Daniel King wrote:
<br>
<br>
<blockquote type="cite">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 \
<br>
-o build/genconstants.o
../../gcc-4.8.1/gcc/genconstants.c
<br>
In file included from
/usr/include/x86_64-linux-gnu/sys/resource.h:25:0,
<br>
from ../../gcc-4.8.1/gcc/system.h:395,
<br>
from
../../gcc-4.8.1/gcc/genconstants.c:28:
<br>
/usr/include/x86_64-linux-gnu/bits/resource.h:131:18:
error: declaration does not declare anything
[-fpermissive]
<br>
</blockquote>
<br>
<br>
</blockquote>
</blockquote>
</blockquote>
Hi
<br>
<br>
Can you do this go through 6.9 as far as the sed to prevent it
looking in the wrong directories
<br>
<br>
then instead of
<br>
<br>
make AS_FOR_TARGET="${AS}" \
<br>
LD_FOR_TARGET="${LD}"
<br>
<br>
can you run this command make configure-host
<br>
<br>
then
<br>
<br>
show the output of
<br>
grep NATIVE_SYSTEM_HEADER_DIR gcc/Makefile
<br>
<br>
and
<br>
grep CROSS_SYSTEM_HEADER_DIR gcc/Makefile
<br>
<br>
<br>
trying to find out why its picking up headers from the host system
<br>
<br>
martin
<br>
<br>
_______________________________________________
<br>
Clfs-support mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Clfs-support@lists.cross-lfs.org">Clfs-support@lists.cross-lfs.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a>
<br>
<br>
</blockquote>
<font size="+1"><font face="Arial">I h<font size="+1">ave <font
size="+1">removed everyt<font size="+1">hing<font size="+1">
and <font size="+1">star<font size="+1">ted over. Here
is th<font size="+1">e <font size="+1">ou<font
size="+1">t<font size="+1">put of the two grep
c<font size="+1">ommands.<br>
<br>
<font size="+1">clfs@end-times1-ubuntu:/mnt/clfs/sources/gcc-build$
grep NATIVE_SYSTEM_HEADER_DIR
gcc/Makefile<br>
NATIVE_SYSTEM_HEADER_DIR =
/tools/include<br>
SYSTEM_HEADER_DIR = `echo
$(NATIVE_SYSTEM_HEADER_DIR) | sed -e :a
-e 's,[^/]*/\.\.\/,,' -e ta`<br>
-DNATIVE_SYSTEM_HEADER_DIR=\"$(NATIVE_SYSTEM_HEADER_DIR)\"
\<br>
clfs@end-times1-ubuntu:/mnt/clfs/sources/gcc-build$
grep CROSS_SYSTEM_HEADER_DIR
gcc/Makefile<br>
CROSS_SYSTEM_HEADER_DIR =
$(gcc_tooldir)/sys-include<br>
-DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\"
\<br>
<br>
<br>
<font size="+1">Daniel<br>
<br>
</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
</body>
</html>