i686 x PPC7450 results with 0.28-rc34
Tom Warzeka
waz@quahog.npt.nuwc.navy.mil
Thu Sep 9 02:28:00 GMT 2004
On Tue, 07 Sep 2004 14:22:08 -0700, Daniel Kegel wrote:
-> Hey, sounds great! Go ahead and submit the new patches (just email them
-> to me). I'll include them in the next snapshot.
OK, I'll send 'em right out. I verified them with 0.28-rc35 as well.
Note that, in addition to the respective patches for GCC 3.2.3 and 3.3.4,
the "-mcpu=7450" option must appear on the "gcc" command line in order for
"-maltivec" to be passed to the assembler. Or, "-maltivec" itself may be
passed to the "gcc" command. This is not necessary with GCC 3.4.1.
-> You should be able to try the dyanmically linked ones at least for
-> glibc-2.1.3 toolchains...
Hmmm, please advise how to build GCC without first building GLIBC 2.1.3.
I tried running demo-7450.sh in the standard way, which builds successfully
through the "gcc-core" step. Then, I tried deleting the lines in
crosstool.sh which build GLIBC, adding the "--nounpack" option to
demo-7450.sh, and rerunning it. During compilation of crtbegin.o, I got:
In file included from /usr/local/src/crosstool-0.28-rc35/build/powerpc-7450-linux-gnu/gcc-3.4.1-glibc-2.1.3/gcc-3.4.1/gcc/crtstuff.c:62:
/usr/local/src/crosstool-0.28-rc35/build/powerpc-7450-linux-gnu/gcc-3.4.1-glibc-2.1.3/gcc-3.4.1/gcc/tsystem.h:85:19: errno.h: No such file or directory
The following message which I found in the log file seems suspicious:
The directory that should contain system headers does not exist:
/usr/local/crosstool/powerpc-7450-linux-gnu/gcc-3.4.1-glibc-2.1.3/lib/gcc/powerpc-7450-linux-gnu/3.4.1/../../../../powerpc-7450-linux-gnu/sys-include
By the way, I have one suggestion for demo-loop.sh. On line 55 you have,
"rm -rf build /opt/crosstool/*". I recommend changing it to, "rm -rf build
$RESULT_TOP/*" to match line 7, "RESULT_TOP=/opt/crosstool". I changed
RESULT_TOP so as not to conflict with previously built toolchains, but
demo-loop.sh deleted those instead of the ones it just installed into
$RESULT_TOP! Oh well, your scripts make them easy to recreate, anyway.
-- Tom
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list