Displaying 20 results from an estimated 700 matches similar to: "[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5"
2010 Jan 09
0
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Hello
> But I got the followings errors:
>
> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:
> Assembler messages:
> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:96:
Correct. You haven't specified any ARM specific stuff during llvm-gcc
conffigure (cpu type, fpu type, floating point abi, etc). This means
that default will be used. LLVM defaults to
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 10
2
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear Anton,
Thank you again for your help!
I tried with the following options (adding --with-cpu=arm7tdmi and
using binutils from cvs snapshot):
../llvm-gcc4.2-2.6.source/configure
--prefix=/usr/local/cross-llvm-gcc-arm-elf-4.2-2.6
--program-prefix=llvm-
--enable-llvm=/Users/dummy/Develop/llvm/llvm-build
--enable-languages=c,c++ --host=i686-apple-darwin9
--build=i686-apple-darwin9
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 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 10
1
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear ML,
Anton, Thank you for your answer and your help.
I had a look at ARM.td of LLVM 2.6 (in lib/Target/ARM..) where I found
following definitions:
// V4T Processors.
def : ProcNoItin<"arm7tdmi", [ArchV4T]>;
def : ProcNoItin<"arm7tdmi-s", [ArchV4T]>;
def : ProcNoItin<"arm710t", [ArchV4T]>;
def :
2010 Jan 10
0
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Hello, Pazzo
> Any clue?
Yes. Sorry, my fault - next time I should check ARM docs before replying.
ARM7TDMI is ARMv4T and this is not supported by LLVM (LLVM does v5+ codegen).
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2014 Aug 21
2
Upgrading Samba in a Multi DC environment
Hi all,
I currently have 5 DC's all running 4.1.5 and would like to upgrade them to
4.1.11.
Should I upgrade the FSMO DC first and then the others or perhaps the other
way around?
Can anyone see any pitfalls here?
Also, should I just:
1. stop samba
2. ./conffigure && make && make install
3. restart samba
?
I am also planning on switching to BIND_DLZ (currently running
2007 Apr 01
0
[LLVMdev] Using LLVM as a crosscompiler
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anton Korobeynikov schreef:
> Hello, Koen.
>
>> So my question is: How should I build llvm and llvm-gcc4 to have it cross-compile from x86
>> to ARM/EABI?
> Well, just supply appropriate --host/--target options to configure.
To llvm or llvm-gcc4?
> I haven't tried ARM, but this definitely works for crosscompiling from
2007 Apr 01
3
[LLVMdev] Using LLVM as a crosscompiler
Hello, Koen.
> So my question is: How should I build llvm and llvm-gcc4 to have it cross-compile from x86
> to ARM/EABI?
Well, just supply appropriate --host/--target options to configure.
I haven't tried ARM, but this definitely works for crosscompiling from
linux to mingw32. Please also note, that you'll need native (=arm) tools
(binutils, libcheaders, etc) during gcc build
2007 Apr 01
4
[LLVMdev] Using LLVM as a crosscompiler
Hi Koen,
The process to build llvm-gcc as a crosscompiler is basically the same
as build a normal gcc as crosscompiler. The differences: you need a
LLVM installed (compiled for the host). You must configure llvm-gcc
with --enable-llvm.
Problems:
- Today LLVM supports ARM/EABI, but llvm-gcc don't. You must apply the patch:
2007 Apr 02
0
[LLVMdev] Using LLVM as a crosscompiler
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lauro Ramos Venancio schreef:
> Hi Koen,
>
> The process to build llvm-gcc as a crosscompiler is basically the same
> as build a normal gcc as crosscompiler. The differences: you need a
> LLVM installed (compiled for the host). You must configure llvm-gcc
> with --enable-llvm.
>
> Problems:
> - Today LLVM supports
2007 Apr 01
0
[LLVMdev] Using LLVM as a crosscompiler
On Sun, 2007-04-01 at 21:26 +0200, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> After hearing Chris' talk at bossaconference I wanted to see if I could use LLVM (and/or
> llvm-gcc) as a crosscompiler for ARM. The documentation beautifully outlines how to build
> it for your host and how to crosscompile it, but not how to build it as a
2007 Apr 01
2
[LLVMdev] Using LLVM as a crosscompiler
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
After hearing Chris' talk at bossaconference I wanted to see if I could use LLVM (and/or
llvm-gcc) as a crosscompiler for ARM. The documentation beautifully outlines how to build
it for your host and how to crosscompile it, but not how to build it as a cross-compiler.
So my question is: How should I build llvm and llvm-gcc4 to have it
2007 Apr 02
1
[LLVMdev] Using LLVM as a crosscompiler
> > - Today LLVM supports ARM/EABI, but llvm-gcc don't. You must apply the
> > patch:
> > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046070.html
>
> That doesn't apply anymore :(
You must use the llvm-gcc4 from the svn. It has some bug fixes that
are important to ARM EABI and the patch should apply cleanly.
Lauro
2007 Apr 04
0
[LLVMdev] Using LLVM as a crosscompiler
Hello
> grep llvm configure* doesn't return anything in trunk/, did I
> checkout[1] the wrong svn?
No. It's ok :) It's just complicated nature of gcc's build system. In
fact, try "grep llvm gcc/configure" :)
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
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
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,
2008 Jul 07
0
[LLVMdev] Trying to compile llvm-gcc to mips
And one last thing, the problem seems to be related to libcpp. Using only C
frontend will work?
2008/7/7 Julio <julio.martin.hidalgo at gmail.com>:
> Hi, well, I downloaded the head revision of llvm and llvm-gcc. As you said
> it hangs at:
>
> Formal argument #0 has unhandled type f32
> /home/julio/trunk/llvm-gcc/gcc/libgcc2.c:1765: internal compiler error:
> Abortado