<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Now I get the following error:</DIV>
<DIV> </DIV><FONT size=2>
<DIV>checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.</DIV>
<DIV>make[1]: *** [configure-target-libstdc++-v3] Error 1</DIV>
<DIV>make[1]: Leaving directory `/MinGW/llvm-project/obj/llvm-gcc-4.2'</DIV>
<DIV>make: *** [all] Error 2</DIV></FONT>
<DIV><BR>Can anyone please tell me how to resolve the problem?</DIV>
<DIV> </DIV>
<DIV>Akramul<BR>--- On <B>Sat, 8/1/11, Eric Christopher <I><echristo@apple.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Eric Christopher <echristo@apple.com><BR>Subject: Re: [LLVMdev] LLVM-GCC build failed<BR>To: "akramul azim" <bijoy123_8@yahoo.com><BR>Cc: llvmdev@cs.uiuc.edu<BR>Date: Saturday, 8 January, 2011, 7:21 PM<BR><BR>
<DIV class=plainMail><BR>On Jan 8, 2011, at 8:04 AM, akramul azim wrote:<BR><BR>> Hi<BR>>  <BR>>    I am using LLVM and LLVM-GCC from SVN (version number: 122880). And I am using arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2 or arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2. I tried the automated scripts (create-snapshots.sh and build-install-linux.sh) that are in the LLVM repository for building crosstoll for ARM (<A href="http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/" target=_blank>http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/</A>) but get the following error for building llvm-gcc (llvm built successfully):<BR>>  <BR>> When I use arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2: my build fails by the following error:<BR>>  <BR>> /usr/local/crosstool/codesourcery/arm-2009q1/bin/arm-none-linux-gnueabi-gcc: cannot<BR>>  execute
 binary file<BR>>  <BR>> make[2]: *** [crtbegin.o] Error 1<BR>>  <BR>> When I use arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2, I get the following error:<BR>>  <BR>> Assembler messages:^M<BR>> Error: can't open /cygdrive/d/DOCUME~2/AZIM/LOCALS~1/Temp/cc19Hfjy.s for reading<BR>> : No such file or directory^M<BR>> make[2]: *** [crtbegin.o] Error 1<BR>>  <BR>> Can anyone please tell me why the error?<BR>>  <BR><BR>They're pretty clear and definitely not related to llvm. One says that you can't execute the arm-gcc binary you have from codesourcery the other says that you can't open a temporary .s file for some reason.<BR><BR>I'd guess permissions are hosed on your machines, but I don't know.<BR><BR>Good luck.<BR><BR>-eric</DIV></BLOCKQUOTE></td></tr></table><br>