similar to: [LLVMdev] Error in compiling "Hello World" in a LLVM-GCC cross crosscompiler

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Error in compiling "Hello World" in a LLVM-GCC cross crosscompiler"

2011 Jan 24
0
[LLVMdev] Error in cross-compiling "Hello World"
Hi,    I use the crosstool build script to build a crosscompiler for ARM. I get the following error when compilng "helloworld" program:   llvm-gcc hello.c -o hello   as: unrecognized option `-meabi=4'   I know that the reason is not to get proper cross assembler. It tries to use the native assembler but I am unable to fix the problem. I use llvm-gcc -### hello.c -o hello and see
2011 Jan 08
0
[LLVMdev] LLVM-GCC build failed
On Jan 8, 2011, at 8:04 AM, akramul azim wrote: > Hi > > 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
2011 Jan 08
2
[LLVMdev] LLVM-GCC build failed
Hi      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
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 > >
2009 Jun 14
1
[LLVMdev] CROSS COMPILING LLVM
I was able to use your scripts to build� llvm and llvm-gcc successfully. But when i try to link to llvm libraries i get the following : ......................... .......................... /arm-2007q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: /arm-llvm/llvm-project/i686-pc-linux-gnu/arm-none-linux-gnueabi/llvm/lib/LLVMXCore.o: Relocations in generic
2009 Jul 01
3
[LLVMdev] Generatin code for an ARM-LINUX machine
Hello Misha, I used the snapshots for the latest stable version (70786), and I followed the instructions inside of README file (very clear!!!) However, when I ran the hello program, I get an unrecognized option message. Bellow are the details. ============================================ jcmartin78 at jcmartin78-laptop:~/LLVM/my-test$ llvmc hello.c as: unrecognized option '-meabi=4'
2010 Jul 28
2
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
Hello, I'm using gold linker now to see if there can be any performance gain. Also using latest gcc version (4.4.4) and latest binutils. But when I'm compiling llvm-gcc, I'm getting this error. /home/jal/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/xgcc -B/home/jal/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/ -B/usr/local/arm-v7a8-linux-gnueabi/bin/
2011 Jan 05
2
[LLVMdev] LLVM for ARM target
Can you please tell me what should I do at this point? How to get the standard C library for ARM around? I also tried to build  http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/ in CYGWIN. However, my LLVM building was failed when I run the script. I am in dilemma what steps i should follow. Please help me. Thanks a lot Akramul --- On Tue, 4/1/11, Anton Korobeynikov <anton at
2009 Mar 18
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
Can someone with llvm-gcc/ARM expertise (Dale?) please review Sandeep's patch? The patch works for me in building an LLVM-based cross-compiler from x86_64/Linux to ARM/Linux. I have been able to build without the patch to the asm file, but several people have reported needing the asm patch on http://llvm.org/PR2545 . On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <deeppatel1987 at
2012 Apr 14
2
[LLVMdev] About LLVM 3.1 ARM testing
Hi all, Since the 3.1 testing day is coming and be a ARM tester, I would like to make sure everything is O.K. so that we don't waste the precious time. As discussed on the ML before, I plan to cross compile LLVM/Clang first, then run regression test and test suite on the pandaboards. Could someone help me check to see if I miss something? Thanks! Here is the pandaboard configuration,
2012 Apr 14
0
[LLVMdev] About LLVM 3.1 ARM testing
On Sat, Apr 14, 2012 at 4:13 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi all, > > Since the 3.1 testing day is coming and be a ARM tester, I would like to > make > sure everything is O.K. so that we don't waste the precious time. As > discussed > on the ML before, I plan to cross compile LLVM/Clang first, then run > regression > test and test suite on
2009 Jul 03
4
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
I suspect that my llvm-gcc cross compiler is using the wrong assembler because it does not recognize "-mcpu=cortex-a8". I was trying to build a cross compiler for a Mac host. Now I am trying to build on x86_64 Linux. I am targeting a Beagle board with an ARM Cortex-A8 and Angstrom Linux. TRIED: to use the script in llvm/utils/crosstool/ARM/build-install-linux.sh I used the recommended
2009 Mar 13
4
[LLVMdev] Consumer ARM platform suitable for LLVM development?
Attached is the patch I've been building arm-eabi with, which might help with linux-gnueabi. I disable multilib to get around several bugs with thumb. I build cross binutils first, then llvm, then llvm-gcc with newlib merged in. The following bugs need to be addressed for these non-Darwin ARM targets: 1388 2313 2545 2985 deep On Fri, Mar 13, 2009 at 12:30 AM, Misha Brukman <brukman at
2009 Jun 12
2
[LLVMdev] CROSS COMPILING LLVM
On Jun 11, 2009, at 7:18 PM, Misha Brukman wrote: > I've committed my scripts that simplify building Linux/x86 -> Linux/ > ARM crosstool. There are 2 parts to using this: > > * llvm/utils/crosstool/create-snapshots.sh > creates tarballs for LLVM and LLVM-GCC from HEAD SVN or a specific > revision of your choice > * llvm/utils/crosstool/ARM/build-install-linux.sh
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
2009 Mar 12
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Thu, Mar 12, 2009 at 6:17 AM, Dietmar Ebner <ebner at complang.tuwien.ac.at>wrote: > On Mar 11, 2009, at 9:44 PM, Misha Brukman wrote: > > The problem I've had is building an LLVM cross-compiler from Linux/ > > x86 to Linux/ARM (as has another llvm-dev poster). Someone > > mentioned to me off-list that he managed to get it to build, but I > > haven't
2009 Mar 18
3
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Mar 18, 2009, at 11:30 AMPDT, Misha Brukman wrote: > Can someone with llvm-gcc/ARM expertise (Dale?) please review > Sandeep's patch? The patch works for me in building an LLVM-based > cross-compiler from x86_64/Linux to ARM/Linux. > I have been able to build without the patch to the asm file, but > several people have reported needing the asm patch on
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
2014 Aug 30
1
help compiling samba
I'm compiling samba-3.6.22 for android with the sourcery arm-2010q1 compiler. The compile itself goes fine, but when I copy smbd to my device it's not recognized as a binary. I get the error sh: ./smbd: No such file or directory file under linux tells me: smbd: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not
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