Displaying 20 results from an estimated 8000 matches similar to: "[LLVMdev] LLVM-gcc for ARM"
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 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 17
1
[LLVMdev] LLVM-gcc for ARM
Hello,
At this moment I have built from scratch a gcc compiler for ARM and I have in the classpath the binaries.
arm-elf-gcc -v
Using built-in specs.
Target: arm-elf
Configured with: ../gcc-4.3.3/configure --target=arm-elf --prefix=/tmp/arm-cortex-toolchain --enable-interwork --enable-multilib --enable-languages=c,c++ --with-newlib --disable-shared --with-gnu-as --with-gnu-ld
Thread model:
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
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
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 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 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 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 09
2
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear Anton,
Thanks for your help!
I had a look to llvm (2.6) configure options but I couldn't find any
way to specify cpu type, fpu ecc..Could you please give me any
indication and/or example? I want to try llvm with Atmel's
AT91SAM7X256 (core is ARM7TDMI )
Thank you again,
pz
2010/1/9 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello
>
>> But I got the
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 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 10
0
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Hello, Pazzo
> I had a look to llvm (2.6) configure options but I couldn't find any
> way to specify cpu type, fpu ecc..
These are not llvm configure options, but gcc's one. Basically, you
should configure llvm-gcc in the same way you do for gcc for your
platform.
> Could you please give me any
> indication and/or example? I want to try llvm with Atmel's
> AT91SAM7X256
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:
2011 Oct 13
2
[LLVMdev] LLC ARM Backend maintainer
Evan,
> I'm the code owner of LLVM codegen and targets. I'm also the one of
main developers on the original ARM target. That means, I would make the
decisions on major development on ARM target if there are decisions to
be made.
>
> But my role is very different from what people are looking for in this
thread. To properly qualify a target like ARM which are supported on
many
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
0
[LLVMdev] LLVM-gcc for ARM
> llvm-gcc a.c
> a.c:1:19: error: stdio.h: No such file or directory
> a.c: In function ‘main’:
> a.c:4: warning: incompatible implicit declaration of built-in function ‘printf’
This is provided by libc. Do you have an ARM libc? You should
configure llvm-gcc with --with-sysroot pointing to the libc install
directory. If you are building from scratch, you have to
*) Build binutils
*)
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 May 25
2
[LLVMdev] linker errors when trying to link llvm-gcc
I am trying to build a cross compiler for arm on linux, here is how i
have configured it
cd llvm-gcc-4.2-2.7.source-objtree
../llvm-gcc-4.2-2.7.source/configure
--enable-llvm=/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-2.7
--enable-multilib --enable-target-optspace --enable-interwork
--with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++
2010 May 25
0
[LLVMdev] linker errors when trying to link llvm-gcc
> ../llvm-gcc-4.2-2.7.source/configure
> --enable-llvm=/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-2.7
> --enable-multilib --enable-target-optspace --enable-interwork
> --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++
> --target=arm-elf
This means that the compiler is built for ARMv4 which is not pretty
good supported.
Try to switch