Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] LLVM-gcc for ARM"
2010 Jan 16
2
[LLVMdev] LLVM-gcc for ARM
OK, I put in my classpath the binaries from this package
arm-2005q3-1-arm-none-linux-gnueabi-i686-pc-linux-gnu
futrhermore in the configure options I specified --with-gnu-ld and --with-gnu-as but I am getting the same error.
exec: 2: -meabi=4: not found
Any ideas?
--- On Sat, 1/16/10, corina s <corina_fff at yahoo.com> wrote:
From: corina s <corina_fff at yahoo.com>
Subject:
2010 Jan 16
0
[LLVMdev] LLVM-gcc for ARM
>From where can I take them? And how modifies the compiling procedure?
Thank you,
Corina
--- On Fri, 1/15/10, Anton Korobeynikov <anton at korobeynikov.info> wrote:
From: Anton Korobeynikov <anton at korobeynikov.info>
Subject: Re: [LLVMdev] LLVM-gcc for ARM
To: "corina s" <corina_fff at yahoo.com>
Cc: "LLVM Developers Mailing List" <llvmdev at
2010 Jan 15
5
[LLVMdev] LLVM-gcc for ARM
Hello,
I am building llvm-gcc4.2-2.6 for ARM target.I used the next command line option:
>>
.../configure --enable-languages=c,c++ --enable-checking --target=arm-eabi
>>
and then
>>
make target_alias=arm-eabi
>>
And then I obtain the following error:
In file included from ../../gcc/config/arm/arm.c:59:
../../../libcpp/internal.h: In function ‘ufputs’:
2010 Jan 16
1
[LLVMdev] LLVM-gcc for ARM
Hello
> exec: 2: -meabi=4: not found
> make[4]: *** [crtbegin.o] Error 1
It seems you don't have cross-binutils for arm-eabi installed. Note
that ARM binutils are known to be buggy - you should use the fresh
CVS snapshot.
PS: Please use "Reply All" button - this way the copy will be sent to
llvm-dev ML and others will be able to comment / use the information
as well.
--
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
I recompiled the LLVM-gcc with these options:
.../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/ --enable-languages=c --disable-libssp --with-gnu-ld --with-gnu-as --with-arch=armv7-a --target=arm-elf
It compiles successfuly.
make install.
But when compiling a file :
llvm-gcc a.c
Assembler messages:
Fatal error: Invalid
2010 Jan 16
1
[LLVMdev] LLVM-gcc for ARM
Can you be more specific?
Where can I found it(arm-eabi)? please provide me with some basic steps.
Thank you.
--- On Sat, 1/16/10, Anton Korobeynikov <anton at korobeynikov.info> wrote:
From: Anton Korobeynikov <anton at korobeynikov.info>
Subject: Re: [LLVMdev] LLVM-gcc for ARM
To: "corina s" <corina_fff at yahoo.com>
Cc: llvmdev at cs.uiuc.edu
Date: Saturday,
2010 Jan 18
0
[LLVMdev] LLVM-gcc for ARM
Hello Corina,
I used a two-stage sequence to build the llvm and llvm-gcc with the codesourcery toolchain and my custom built arm toolchain. There is some scripted chunks for each step. I have attached them as a single file to this email. May be it will help you somehow.
Viktor.
---
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] On Behalf Of corina s [corina_fff at
2010 Jan 17
0
[LLVMdev] LLVM-gcc for ARM
Moreover,
../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
--with-gnu-as=/home/arm/bin/arm-elf-as
--with-arch=armv7
--target=arm-elf
and then make target=arm-elf gives the following error:
Unknown arch used in --with-arch=armv7
Thanks.
--- On Sun,
2010 Jan 28
1
[LLVMdev] LLVM-gcc for ARM
We have had a script for a while that does this for you in
http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/ARM/ .
It also uses the CodeSourcery toolchain so it saves you some effort.
Does that work for you?
On Mon, Jan 18, 2010 at 2:52 PM, Viktor Kutuzov
<vkutuzov at accesssoftek.com>wrote:
> Hello Corina,
>
> I used a two-stage sequence to build the llvm and llvm-gcc
2010 Jan 18
0
[LLVMdev] LLVM-gcc for ARM
Hello,
I recompiled binutils, llvm-gcc, libc, and again llvm-gcc and now it gives me the following error:
llvm-gcc --v
Using built-in specs.
Target: arm-elf
Configured with:
......./ (reconfigured) ../llvm-gcc4.2-2.6.source/configure --target=arm-elf --enable-llvm=/home/LLVM/llvm-2.6/ --with-arch=armv7-a --enable-languages=c --prefix=/home/LLVM/install --enable-multilib --with-newlib
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
Hello,
Well, I recompiled the LLVM-gcc
.../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/
--enable-languages=c
--disable-libssp
--with-gnu-ld=/home/LLVM/llvm-gcc4.2-2.6.source/arm-elf-ld --with-gnu-as=/home/LLVM/llvm-gcc4.2-2.6.source/arm-elf-as --with-cpu=cortex-a8
--target=arm-elf
Everything is OK, but when trying
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
Thanks for your tips. But I'm still getting errors.
.../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
--with-gnu-as=/home/arm/bin/arm-elf-as
--with-cpu=cortex-a8
--target=arm-elf
Errors:
>>
checking for g++ that supports -ffunction-sections
2010 Jan 18
2
[LLVMdev] LLVM-gcc for ARM
hi,
So...
I followed the following steps in order to compile the llvm-gcc frontend. The single problem is that mentioned in the previous message:
llvm-gcc HelloWorld.c
/home/LLVM/install/lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld: this linker was not configured to use sysroots
collect2: ld returned 1 exit status
1. I have compiled the binutils for the arm-none-eabi target. Options:
2010 Jan 16
0
[LLVMdev] LLVM-gcc for ARM
> exec: 2: -meabi=4: not found
>
> Any ideas?
Yes. As it can be deduced from the name of the package, it's for
arm-none-linux-gnueabi, not for arm-eabi.
Also, note that the mentioned package is too old for anything useful.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
OK, thank you.
Are there some pre-built X86 binaries for LLVM-gcc for ARM? It yes, where can I download from?
Thank you,
Corina
--- On Sun, 1/17/10, Rafael Espindola <espindola at google.com> wrote:
From: Rafael Espindola <espindola at google.com>
Subject: Re: [LLVMdev] LLVM-gcc for ARM
To: "corina s" <corina_fff at yahoo.com>
Cc: llvmdev at cs.uiuc.edu, anton at
2009 Jun 29
0
[LLVMdev] configuring cross compiler for Mac to Linux on ARM
Hello,
I am trying to cross compile LLVM.
Build and compile on Mac OS X 10.5.7
Target is an Angstrom Linux Cortex-A8 Beagle board.
I would like to avoid GPLv3.
I can compile. But when I run my executable on Beagle crt0.S is
calling an AngelSWI to
setup the heap and stack. But the AngelSWI seems to just be a stub
because it returns zeros for the pointers. That leads to a segfault.
If I hack in
2010 Jan 17
0
[LLVMdev] LLVM-gcc for ARM
> llvm-gcc a.c
> Assembler messages:
> Fatal error: Invalid -march= option: `armv7-a'
>
> Any ideas?
It is probably trying to use the wrong assembler. Run with -v and check.
>
> Thank you,
> Corina
>
Cheers,
--
Rafael Ávila de Espíndola
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 24
0
[LLVMdev] Error in compiling "Hello World" in a LLVM-GCC cross crosscompiler
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
2009 Oct 14
0
[LLVMdev] Fwd: JIT on ARM
Hi.
Sorry for reposting my mail, but can somebody at lest give some
general ideas for what to look to solve my problem?
--
Martins Mozeiko
Begin forwarded message:
> From: Martins Mozeiko <49640f8a at gmail.com>
> Date: September 25, 2009 12:04:04 GMT+03:00
> To: llvmdev at cs.uiuc.edu
> Subject: JIT on ARM
>
> Hello.
>
> My goal is to use LLVM with JIT compiler