Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] LLVM-gcc for ARM"
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 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 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 May 20
2
[LLVMdev] trying to build llvm-gcc for arm, error: 'V1DI_pointer_node' undeclared (first use in this function)
i am getting this compilation error:
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H
-I. -I. -I../../llvm-gcc-4.2-2.7.source/gcc
-I../../llvm-gcc-4.2-2.7.source/gcc/.
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 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 May 20
0
[LLVMdev] trying to build llvm-gcc for arm, error: 'V1DI_pointer_node' undeclared (first use in this function)
You need to configure with --enable-llvm.
(It would still be nice if V1DI_pointer_node was defined; I'll take a look at that.)
On May 20, 2010, at 1:04 PM, Anatoly Yakovenko wrote:
> i am getting this compilation error:
>
>
> gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
>
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 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 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
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 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 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
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
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
*)
2012 Jun 16
1
[LLVMdev] (no subject)
<p><a href="http://www.chivolac.com/barchew/Colin_Miller7/">http://www.chivolac.com/barchew/Colin_Miller7/</a></p>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120615/27af4fbd/attachment.html>
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 18
0
[LLVMdev] LLVM-gcc for ARM
> What I am supposed to do next? you said that I have to recompile binutils with --with-sysroot option?
It is not an extra step. You have to add --with-sysroot to step 1.
> Thank you.
Cheers,
--
Rafael Ávila de Espíndola
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,