<div><font size="2" face="Arial">I use a 64bit-x86 computer, with Fedora Core 13, and want to build the
llvm-gcc.</font></div>
<div><font size="2" face="Arial"> According to the README.LLVM file, I firstly
built llvm 2.8 in /home/qali/install/llvm-2.8 using:</font></div>
<div><font size="2" face="Arial"> $./configure</font></div>
<div><font size="2" face="Arial"> $./make ENABLE_OPTIMIZED=1</font></div>
<div><font size="2" face="Arial"> It succeded. Then, I tried to built llvm-gcc in an
'obj' directory different from the soucre directory, using:</font></div>
<div><font face="Arial"><font size="2"> $</font><font size="1"><span style="font: normal normal normal medium/normal Simsun; font-family: arial; font-size: small; " class="Apple-style-span">.<font size="2">/llvm-gcc-4.2-2.8.source/configure
--prefix=`pwd`/../install --program-prefix=llvm-
--enable-llvm=/home/qali/install/llvm-2.8
--enable-languages=c,c++$EXTRALANGS --target=i686-pc-linux-gnu
--with-tune=generic
--with-arch=pentium4</font></span></font></font></div>
<div><font size="2" face="Arial"><span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Simsun; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="FONT-FAMILY: arial; FONT-SIZE: small" class="Apple-style-span"> <font size="2">$make
LLVM_VERSION_INFO=2.8</font></span></span></font></div>
<div><font size="2" face="Arial"><span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Simsun; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="FONT-FAMILY: arial; FONT-SIZE: small" class="Apple-style-span"> Here came the error: </span></span></font></div>
<div><font size="2" face="Arial"><span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Simsun; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="FONT-FAMILY: arial; FONT-SIZE: small" class="Apple-style-span"></span></span></font><font size="2" face="Arial"><span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Simsun; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="FONT-FAMILY: arial; FONT-SIZE: small" class="Apple-style-span"> <span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Simsun; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="FONT-FAMILY: arial; FONT-SIZE: small" class="Apple-style-span"></span></span></span></span></font></div>
<font size="2" face="Arial">
</font><div><font size="2" face="Arial">
<div><font color="#ff0000" size="2">/home/qali/install/llvm_gcc/obj/./gcc/as:
line 2: exec: -Q: invalid option</font></div>
<div><font color="#ff0000" size="2">exec: usage: exec [-cl] [-a name] [command
[arguments ...]] [redirection ...]</font></div>
<div><font color="#ff0000" size="2">make[2]: *** [crtbegin.o] Error 1</font></div>
<div><font color="#ff0000" size="2">make[2]: Leaving directory
`/home/qali/install/llvm_gcc/obj/gcc'</font></div>
<div><font color="#ff0000" size="2">make[1]: *** [all-gcc] Error 2</font></div>
<div><font color="#ff0000" size="2">make[1]: Leaving directory
`/home/qali/install/llvm_gcc/obj'</font></div>
<div><font color="#ff0000" size="2">make: *** [all] Error 2</font></div>
<div><font color="#ff0000" size="2"></font> </div>
<div><font size="2">I have searched the mail-list in this group, but failed to get
a solution. Could any one help
me?</font></div></font></div><br>-- <br>Best regards,<div><br></div><div>Li Qingan</div><br>