Displaying 20 results from an estimated 71 matches for "crosstool".
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 u...
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 u...
2009 Jun 12
0
[LLVMdev] CROSS COMPILING LLVM
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
builds and installs a Linux/x86 -> Linux/ARM crosstool using the snapsho...
2010 Oct 15
2
[LLVMdev] llvm-gcc as Alpha cross compiler
...and that I
used to build on Ubuntu 10.10:
../llvm-gcc-4.2-2.8.source/configure
--enable-llvm=/home/ghoang/research/llvm/llvm-objects
--enable-languages=c,c++ --disable-boostrap --disable-multilib
--disable-threads --target=alpha-linux
--prefix=/home/ghoang/research/llvm/llvm-gcc-bin
--with-as=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/as
--with-ld=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/ld
--with-sysroot=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu
where '/opt/cro...
2010 Oct 15
0
[LLVMdev] llvm-gcc as Alpha cross compiler
...10.10:
>
> ../llvm-gcc-4.2-2.8.source/configure
> --enable-llvm=/home/ghoang/research/llvm/llvm-objects
> --enable-languages=c,c++ --disable-boostrap --disable-multilib
> --disable-threads --target=alpha-linux
> --prefix=/home/ghoang/research/llvm/llvm-gcc-bin
> --with-as=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/as
> --with-ld=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/ld
> --with-sysroot=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu
>
>...
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
...ent cross-compiler (mainly based on GCC 3.4.x)
When I tried to cross-compile FLAC for non-i386 platforms (such as ARM), I use
use "configure" in the following way:
(cd ~/UPnPTVStack/lgpl-code/flac-1.1.2; make
distclean; ./configure --host=armv5b-softfloat-linux --disable-shared
CC=/opt/crosstool/gcc-3.4.1-glibc-2.2.5/armv5b-softfloat-linux/bin/armv5b-softfloat-linux-gcc
CXX=/opt/crosstool/gcc-3.4.1-glibc-2.2.5/armv5b-softfloat-linux/bin/armv5b-softfloat-linux-g++
LDFLAGS=-lpthread --without-XMMS --without-ogg ; make)
Although I did not get any errors here, the target is not compilable,...
2009 Jun 10
6
[LLVMdev] CROSS COMPILING LLVM
How does one cross compile llvm ? When I attempt to cross compile I get
:
................................................
...............................................
configure: creating ./config.status
config.status: creating Makefile.common
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing lib/Makefile commands
config.status:
2010 Oct 16
1
[LLVMdev] llvm-gcc as Alpha cross compiler
...4.2-2.8.source/configure
> > --enable-llvm=/home/ghoang/research/llvm/llvm-objects
> > --enable-languages=c,c++ --disable-boostrap --disable-multilib
> > --disable-threads --target=alpha-linux
> > --prefix=/home/ghoang/research/llvm/llvm-gcc-bin
> >
> --with-as=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/as
> >
> --with-ld=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/ld
> >
> --with-sysroot=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-...
2009 Mar 12
5
[LLVMdev] Consumer ARM platform suitable for LLVM development?
...aven't been able to reproduce the build using his instructions
> (I'll post my results in another thread).
I've been successfully experimenting with an arm-softfloat-linux-gnu
cross-compiler at the time of llvm 2.1. The easiest way to get this
working is to use Dan Kegel's crosstool to build a regular gcc
toolchain. This will give you binutils, libgcc, and glibc, which you
will need anyway.
Building llvm-gcc was relatively painless. The only problem I've
encountered was that my target had no hardware floating point support
and the endianess for the softfloat imple...
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks Misha,
However, I could not find the crosstool. Could you please check the name of
the script?
Regards,
Juan Carlos
On Mon, Jun 29, 2009 at 5:23 PM, Misha Brukman <brukman at gmail.com> wrote:
> I have not used llvmc to build ARM binaries, but llvm-gcc does work.There's
> a script to build llvm-gcc x86 -> ARM cross-compil...
2008 Aug 12
0
configure for ARM Linux
...8
3. Configure options : (almost of them are googled)
$ ./configure --without-krb5 --without-ldap --without-ads --disable-cups
--without-swat --host=i686 --target=arm-linux
--prefix=/home/stanliao/work1/lsp/ap-util/install/etc/samba
--exec-prefix=/home/stanliao/work1/lsp/ap-util/install
CC=/opt/crosstool/scratchbox/compilers/arm-gcc3.4-uclibc0.9.28/bin/sbox-arm-
linux-uclibc-gcc
AR=/opt/crosstool/scratchbox/compilers/arm-gcc3.4-uclibc0.9.28/bin/sbox-arm-
linux-uclibc-ar
LD=/opt/crosstool/scratchbox/compilers/arm-gcc3.4-uclibc0.9.28/bin/sbox-arm-
linux-uclibc-ld
LDFLAGS=-L/opt/crosstool/scratchbox/c...
2009 Mar 12
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
...le to reproduce the build using his instructions
> > (I'll post my results in another thread).
>
> I've been successfully experimenting with an arm-softfloat-linux-gnu
> cross-compiler at the time of llvm 2.1. The easiest way to get this
> working is to use Dan Kegel's crosstool to build a regular gcc
> toolchain. This will give you binutils, libgcc, and glibc, which you
> will need anyway.
I've been trying to build for the target arm-none-linux-gnueabi, using the
appropriate pre-built CodeSourcery toolchain, hence avoiding building my own
gcc crosstool prior t...
2011 Jan 08
2
[LLVMdev] LLVM-GCC build failed
...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 (http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/) but get the following error for building llvm-gcc (llvm built successfully):
When I use arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2: my build fails by the following error:
/usr/local/crosstool/codesourcery/arm-2009q1/bin/arm-none-linux-gnueabi-gcc: cannot
execute binary f...
2009 Jun 30
0
[LLVMdev] Generatin code for an ARM-LINUX machine
llvm/utils/crosstool/ARM/build-install-linux.sh
On Tue, Jun 30, 2009 at 11:18 AM, Juan Carlos Martinez Santos <
juanc.martinez.santos at gmail.com> wrote:
> Thanks Misha,
>
> However, I could not find the crosstool. Could you please check the name of
> the script?
>
> Regards,
>
> Juan C...
2009 Jun 14
1
[LLVMdev] CROSS COMPILING LLVM
...Thanks
Hannibal
----- Original Message -----
From: "Misha Brukman"
To: "LLVM Developers Mailing List"
Subject: Re: [LLVMdev] CROSS COMPILING LLVM
Date: Thu, 11 Jun 2009 22:18:25 -0400
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
� builds and installs a Linux/x86 -> Linux/ARM crosstool using t...
2012 Apr 14
2
[LLVMdev] About LLVM 3.1 ARM testing
...15 16:34:35 UTC 2011 armv7l armv7l armv7l GNU/Linux
$ gcc -v
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.21.0.20110327
---
Below is the cross toolchain and configuration options I will use,
---
$ arm-unknown-linux-gnueabi-gcc -v
gcc version 4.5.2 (crosstool-NG 1.14.1)
$ arm-unknown-linux-gnueabi-ld -v
GNU ld (crosstool-NG 1.14.1) 2.21.1
$ ../configure \
--target=arm-unknown-linux-gnueabi \
--host=arm-unknown-linux-gnueabi \
--enable-bindings=none --disable-multilib --disable-bootstrap \
---
Any comment?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任...
2009 Mar 13
4
[LLVMdev] Consumer ARM platform suitable for LLVM development?
...build using his instructions
>> > (I'll post my results in another thread).
>>
>> I've been successfully experimenting with an arm-softfloat-linux-gnu
>> cross-compiler at the time of llvm 2.1. The easiest way to get this
>> working is to use Dan Kegel's crosstool to build a regular gcc
>> toolchain. This will give you binutils, libgcc, and glibc, which you
>> will need anyway.
>
> I've been trying to build for the target arm-none-linux-gnueabi, using the
> appropriate pre-built CodeSourcery toolchain, hence avoiding building my own...
2011 Jan 08
0
[LLVMdev] LLVM-GCC build failed
...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 (http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/) but get the following error for building llvm-gcc (llvm built successfully):
>
> When I use arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2: my build fails by the following error:
>
> /usr/local/crosstool/codesourcery/arm-2009q1/bin/arm-none-linux-gnueabi-gcc: canno...
2009 Mar 18
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
...ons
> >> > (I'll post my results in another thread).
> >>
> >> I've been successfully experimenting with an arm-softfloat-linux-gnu
> >> cross-compiler at the time of llvm 2.1. The easiest way to get this
> >> working is to use Dan Kegel's crosstool to build a regular gcc
> >> toolchain. This will give you binutils, libgcc, and glibc, which you
> >> will need anyway.
> >
> > I've been trying to build for the target arm-none-linux-gnueabi, using
> the
> > appropriate pre-built CodeSourcery toolchain, h...
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
> builds and installs a Linux/x86 -> Linux/...