similar to: [LLVMdev] llvm-gcc cross compiler for ARM Linux failing

Displaying 20 results from an estimated 8000 matches similar to: "[LLVMdev] llvm-gcc cross compiler for ARM Linux failing"

2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hi, Neel > I suspect it is using the wrong assembler. But when I do llvm-gcc -v I > can see it has: > >  --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as But how's assembler actually called? Just try to compile something with extra -v option added -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg
2009 Jul 03
1
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hello Anton, Thanks for replying. The message "as: unrecognized option `-mcpu=cortex-a8'" is the same message I get when I just enter: as -mcpu=cortex-a8 So I think I llvm-gcc is using the Linux i386 assembler to assemble ARM code. Not good. What assembler is it supposed to use? The one in CodeSourcery? > But how's assembler actually called? Just try to compile
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
On Jul 2, 2009, at 6:24 PM, Neel Nagar wrote: > I suspect that my llvm-gcc cross compiler is using the wrong > assembler because it does not recognize "-mcpu=cortex-a8". This is a known problem. We've only added support for ARMv7 (including cortex-a8) in llvm in the last week or so, and the associated changes for llvm-gcc are still pending. Unless you need specific
2012 Jul 18
2
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:24, salvatore benedetto <salvatore.benedetto at gmail.com> wrote: > I'm not sure how to interpret the above output, but I don't understand > why if say -triple armv4t-none--gnueabi . Ok, we're getting there... ;) I think these errors are due to Clang not finding the libraries/includes/etc for the target you're building. If you have
2012 Jul 18
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:46, salvatore benedetto <salvatore.benedetto at gmail.com> wrote: > $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c > --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/ Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple thumbv7m-none-linux-gnueabi Sometimes it's better than sysroot, as it finds it
2010 Nov 07
2
[LLVMdev] Compiling front end for ARM target
I am trying to compile llvm-gcc for an ARm target. I usine the following configure options: /home/tony/llvm/llvm-gcc/configure --prefix=/home/tony/llvm/llvm-gcc-install/ --program-prefix=llvm-arm- --enable-llvm=/home/tony/llvm/llvm-install/ --enable-pic --disable-bootstrap --target=arm-none-linux-gnueabi --enable-languages=c,c++ Then I try to make: make ENABLE_PROFILING=1 ENABLE_OPTIMIZED=1
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 5:45 PM, Renato Golin <rengolin at systemcall.org> wrote: > On 18 July 2012 15:46, salvatore benedetto > <salvatore.benedetto at gmail.com> wrote: >> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c >> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/ > > Try -ccc-gcc-name
2010 Nov 08
0
[LLVMdev] Compiling front end for ARM target
On Nov 6, 2010, at 5:22 PM, tonyg362 wrote: > > I am trying to compile llvm-gcc for an ARm target. I usine the following > configure options: > > /home/tony/llvm/llvm-gcc/configure > --prefix=/home/tony/llvm/llvm-gcc-install/ --program-prefix=llvm-arm- > --enable-llvm=/home/tony/llvm/llvm-install/ --enable-pic --disable-bootstrap > --target=arm-none-linux-gnueabi
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 4:31 PM, Renato Golin <rengolin at systemcall.org> wrote: > On 18 July 2012 15:24, salvatore benedetto > <salvatore.benedetto at gmail.com> wrote: >> I'm not sure how to interpret the above output, but I don't understand >> why if say -triple armv4t-none--gnueabi . > > Ok, we're getting there... ;) Glad you are confident.
2010 May 05
1
[LLVMdev] hi, I can't find information about how to cross compile llvm-gcc in llvm docs.
I place codesourcery toolchain 2010q1 there, but the sh tell me "CodeSourcery tarball not found in /root/tmp/arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 ", does 2007q3 support ARM Cortex A8? What can I do? 2010/5/5 Eli Friedman <eli.friedman at gmail.com> > On Tue, May 4, 2010 at 8:57 PM, 爱好者 <proljc at gmail.com> wrote: > > hi all > >
2010 Jul 12
0
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
> ~/Desktop/Sanjeev/LLVM/llvm-2.7/Release/lib/libLLVMgold.so --eh-frame-hdr > -melf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o Ok, this way you're generating code for x86 > /usr/lib/crti.o > /usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/crtbegin.o > -L/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0  -L/usr/local/lib -lgcc > --as-needed -lgcc_s --no-as-needed -lc -lgcc
2010 Jul 12
2
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
Sorry for not explaining well. After compiling with g++-cross g++-cross -c a.c I do link using this command /gold_binutils/build/gold/ld-new -plugin ~/Desktop/Sanjeev/LLVM/llvm-2.7/Release/lib/libLLVMgold.so --eh-frame-hdr -melf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/crtbegin.o
2010 May 05
2
[LLVMdev] hi, I can't find information about how to cross compile llvm-gcc in llvm docs.
hi all We want speed up our applications, so we want use llvm-gcc. I nerver cross build it for arm, and I didn't find enough information in llvm docs. Our cpu is cortex a8, anybody tell me how can I do? Step by step. THANK YOU! yours Liu -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 May 05
0
[LLVMdev] hi, I can't find information about how to cross compile llvm-gcc in llvm docs.
On Tue, May 4, 2010 at 8:57 PM, 爱好者 <proljc at gmail.com> wrote: > hi all >       We want speed up our applications, so we want use llvm-gcc. I nerver > cross build it for arm, and I didn't find enough information in llvm docs. >       Our cpu is cortex a8, anybody tell me how can I do? Step by step. > THANK YOU! > yours Liu Try the
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
2009/6/30 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> > Thanks John, > > I just realized that I am not working on the same "branch" of LLVM. Looking > the latest or the newest version I saw the folder with the script, but I did > not see a README file. > > I ran the script, and I get: > > ********** > chown: cannot access
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks John, I just realized that I am not working on the same "branch" of LLVM. Looking the latest or the newest version I saw the folder with the script, but I did not see a README file. I ran the script, and I get: ********** chown: cannot access `/usr/local/codesourcery': No such file or directory ********** Therefore my question is if the script depends on others folders (or
2012 Jul 22
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 22 July 2012 22:03, salvatore benedetto <salvatore.benedetto at gmail.com> wrote: > While we are at it, if a new comer would like to understand where everything > takes place, where should he look? > > I did a grep in the source and eventually ended up in clang/something/driver. That's pretty much it: clang/lib/Driver
2012 Jul 22
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 6:08 PM, salvatore benedetto <salvatore.benedetto at gmail.com> wrote: > On Wed, Jul 18, 2012 at 5:45 PM, Renato Golin <rengolin at systemcall.org> wrote: >> On 18 July 2012 15:46, salvatore benedetto >> <salvatore.benedetto at gmail.com> wrote: >>> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c >>>
2010 May 07
2
[LLVMdev] How to build a cross llvm-gcc compiler for Arm Cortex-A8
hi My host is Linux on x86, and I want llvm-gcc generate code for Arm Cortex-A8. I saw that in LLVM 2.7 Release Notes, but I can't find step to build it. Anyone tell me? llvm-gcc now has complete support for the ARM v7 NEON instruction set. This support differs slightly from the GCC implementation. Please see the ARM Advanced SIMD (NEON) Intrinsics and Types in LLVM Blog
2011 Jul 03
9
[LLVMdev] LLVM on ARM testing.
Hello, I asked here for kind of reference GCC version which LLVM development team is using for *native* testing on ARM hardware. (no cross compilation!) last week or so. I've been curious myself how the situation looks and so I tested LLVM 2.9 as a reference point and LLVM HEAD as of June 29 on ARMv7 (two boards with two different Ubuntu versions) compiled by GCC 4.3.4, 4.4.1, 4.4.5,