<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><pre>>in the capter 6.10:<br>>during the make cc1 link libcloog-isl.so an error occur:<br>>error add symbols: file in wrong format<br> <br>>the .so file in the cross-tools dir and have the abi of build machine. i think the correct .so shold be the one located in the tools dir.<br><br>After some changes in the gcc-build/Makefile chapter 6.10 had been completed.<br><br>There are 6(or 5, HOST_ISL_LIBS is not exist) variables in the gcc-build/Makefile setting by sed script.<br>HOST_CLOOGLIBS, HOST_ISLLIBS, HOST_GMPLIBS - /cross-tools/lib<br>HOST_CLOOGINC, HOST_ISLINC, HOST_GMPINC - /cross-tools/include<br><br>but the following 6(or 5) variables have problem:<br><br>GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ # should /tools/lib<br>GMPINC="$(HOST_GMPINC)"; export GMPINC; \ # remain the /cross-tools/include<br>ISLINC="$(HOST_ISLINC)"; export ISLINC; \ # remain the /cross-tools/include<br>CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \ # should /tools/lib<br>CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \ # remain the /cross-tools/include<br><br>Maybe it's a gcc bug? the following the HOST_* variables have on effect but the * take place.<br>If not change the *LIBS variable, during the linking of cc1, the linker will link the libs in the /cross-tools/lib,<br>which will cause a wrong symbol error.<br><br></pre>                                      </div></body>
</html>