<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv881771016">Thanks for your tips.. But I'm still getting errors.<br><br>../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/ --enable-languages=c,c++  --with-gnu-ld=/home/arm/bin/arm-elf-ld <br>--with-gnu-as=/home/arm/bin/arm-elf-as  <br>--with-cpu=cortex-a8  <br>--target=arm-elf<br><br><span style="font-weight: bold;">Errors:</span><br>>><br>checking for g++ that supports -ffunction-sections -fdata-sections... yes<br>configure: error: No support for this host/target combination.<br>make[1]: *** [configure-target-libstdc++-v3] Error 1<br>>><br><br>Thank you for your help,<br>Corina.<br><br>--- On <b>Sat, 1/16/10, Anton Korobeynikov <i><anton@korobeynikov.info></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left:
 5px; padding-left: 5px;"><br>From: Anton Korobeynikov <anton@korobeynikov.info><br>Subject: Re: [LLVMdev] LLVM-gcc for ARM<br>To: "corina s" <corina_fff@yahoo.com><br>Cc: llvmdev@cs.uiuc.edu<br>Date: Saturday, January 16, 2010, 6:09 PM<br><br><div class="plainMail">Hello<br><br>> /tmp/ccm99Neh.s:711: Error: selected
 processor does not support `sxtb r1,r1'<br>> make[3]: *** [libgcc/thumb/unwind-dw2-fde.o] Error 1<br>><br>> Any ideas?<br>Yes. LLVM defaults to ARMv5 in codegeneration and does not support<br>ARMv4. Without any extra option arm-elf-as assumes ARMv4 and thus<br>gives you these errors. So:<br><br>1. If your desired target platform is ARMv4 and not newer - then<br>you're out of luck<br>2. Otherwise - add --with-cpu or --with-arch to llvm-gcc configure to<br>select the processor / arch desired.<br><br>It seems that you're interested in Cortex CPUs<br>("/tmp/arm-cortex-toolchain"), then your desired arch is armv7,<br>configure with --with-arch=armv7 or e.g. --with-cpu=cortex-a8<br><br>--<br>With best regards, Anton Korobeynikov<br>Faculty of Mathematics and Mechanics, Saint Petersburg State University<br></div></blockquote></div></td></tr></table><br>