Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] LLVM-gcc for ARM"
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 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
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 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
2011 Jun 23
1
[LLVMdev] llvm compilation of libc?
Hi Xi,
How did you compile it with clang? I ran into problems:
clang -emit-llvm -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.19.0\" -DPACKAGE_STRING=\"newlib\ 1.19.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -DMISSING_SYSCALL_NAMES
-fno-builtin -DMISSING_SYSCALL_NAMES -fno-builtin -O2 -c -o
2011 Jun 23
0
[LLVMdev] llvm compilation of libc?
I would recommend Newlib. It's easy to configure and compile using Clang.
http://sourceware.org/newlib/
- xi
On Jun 23, 2011, at 2:07 AM, Gregory Malecha wrote:
> Hello,
>
> I'm wondering if anyone had any success (even a small amount) compiling any variant of libc to llvm bitcode?
>
> --
> gregory malecha
> _______________________________________________
>
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 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 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
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 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 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.
--
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
> 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
3
[LLVMdev] LLVM-gcc for ARM
> 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
>
> I would appreciate some help from you.
You have to pass --with-sysroot when building binutils too.
> Corina
Cheers,
--
Rafael Ávila de Espíndola
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
2008 Sep 10
1
Xen-3.3 Etch amd64 compil error
Hello user-list,
Here is my pb :
I have a brand new debian Etch with all updates installed on a DELL PE
SC430 with a Pentium D 930 (3Ghz, Intel-VT, EMT64)
I''ve downloaded xen-3.3 and tried to install with /*"The Perfect Xen
3.1.0 Setup For Debian Etch" */howto.
But when i run the the "make world" I have an error with the studbom
compilation :
/Dans le fichier
2011 Jun 23
3
[LLVMdev] llvm compilation of libc?
Hello,
I'm wondering if anyone had any success (even a small amount) compiling any
variant of libc to llvm bitcode?
--
gregory malecha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110622/b5fad437/attachment.html>