Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] -static option with llvm-arm-gcc"
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 4:31 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 18 July 2012 15:24, salvatore benedetto
> <salvatore.benedetto at gmail.com> wrote:
>> I'm not sure how to interpret the above output, but I don't understand
>> why if say -triple armv4t-none--gnueabi .
>
> Ok, we're getting there... ;)
Glad you are confident.
2009 Jul 03
1
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hello Anton,
Thanks for replying.
The message "as: unrecognized option `-mcpu=cortex-a8'"
is the same message I get when I just enter:
as -mcpu=cortex-a8
So I think I llvm-gcc is using the Linux i386 assembler to assemble
ARM code. Not good. What assembler is it supposed to use? The one in
CodeSourcery?
> But how's assembler actually called? Just try to compile
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hi, Neel
> I suspect it is using the wrong assembler. But when I do llvm-gcc -v I
> can see it has:
>
> --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as
But how's assembler actually called? Just try to compile something
with extra -v option added
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg
2009 Jul 03
4
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
I suspect that my llvm-gcc cross compiler is using the wrong
assembler because it does not recognize "-mcpu=cortex-a8".
I was trying to build a cross compiler for a Mac host. Now I am trying
to build on x86_64 Linux. I am targeting a Beagle board with an ARM
Cortex-A8 and Angstrom Linux.
TRIED: to use the script in llvm/utils/crosstool/ARM/build-install-linux.sh
I used the recommended
2012 Jul 18
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:46, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c
> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/
Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple
thumbv7m-none-linux-gnueabi
Sometimes it's better than sysroot, as it finds it
2010 Nov 07
2
[LLVMdev] Compiling front end for ARM target
I am trying to compile llvm-gcc for an ARm target. I usine the following
configure options:
/home/tony/llvm/llvm-gcc/configure
--prefix=/home/tony/llvm/llvm-gcc-install/ --program-prefix=llvm-arm-
--enable-llvm=/home/tony/llvm/llvm-install/ --enable-pic --disable-bootstrap
--target=arm-none-linux-gnueabi --enable-languages=c,c++
Then I try to make:
make ENABLE_PROFILING=1 ENABLE_OPTIMIZED=1
2010 Nov 08
0
[LLVMdev] Compiling front end for ARM target
On Nov 6, 2010, at 5:22 PM, tonyg362 wrote:
>
> I am trying to compile llvm-gcc for an ARm target. I usine the following
> configure options:
>
> /home/tony/llvm/llvm-gcc/configure
> --prefix=/home/tony/llvm/llvm-gcc-install/ --program-prefix=llvm-arm-
> --enable-llvm=/home/tony/llvm/llvm-install/ --enable-pic --disable-bootstrap
> --target=arm-none-linux-gnueabi
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 5:45 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 18 July 2012 15:46, salvatore benedetto
> <salvatore.benedetto at gmail.com> wrote:
>> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c
>> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/
>
> Try -ccc-gcc-name
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
On Jul 2, 2009, at 6:24 PM, Neel Nagar wrote:
> I suspect that my llvm-gcc cross compiler is using the wrong
> assembler because it does not recognize "-mcpu=cortex-a8".
This is a known problem. We've only added support for ARMv7
(including cortex-a8) in llvm in the last week or so, and the
associated changes for llvm-gcc are still pending. Unless you need
specific
2012 Jul 22
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 6:08 PM, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> On Wed, Jul 18, 2012 at 5:45 PM, Renato Golin <rengolin at systemcall.org> wrote:
>> On 18 July 2012 15:46, salvatore benedetto
>> <salvatore.benedetto at gmail.com> wrote:
>>> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c
>>>
2012 Jul 18
2
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:24, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> I'm not sure how to interpret the above output, but I don't understand
> why if say -triple armv4t-none--gnueabi .
Ok, we're getting there... ;)
I think these errors are due to Clang not finding the
libraries/includes/etc for the target you're building.
If you have
2009 Jul 08
4
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
Hello,
While I was trying to cross-compile Linux OMAP kernel with llvm, I have the
following error message.
CC arch/arm/kernel/traps.o
cc1:
/home/wonjeon/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:5388: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
`(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
OpInfo.ConstraintType ==
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 unable to fix the problem. I use
llvm-gcc -### hello.c -o hello and see
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
2011 Aug 10
0
3.6.0 cross-compile error (reg_format.c)
Compiling ../librpc/ndr/ndr_preg.c
Compiling librpc/gen_ndr/ndr_drsuapi_c.c
Compiling librpc/gen_ndr/ndr_initshutdown_c.c
Dear samba-users,
Any help with the following compile error (cross-compilation to
MIPSEL) is greatly appreciated:
Compiling librpc/gen_ndr/ndr_dssetup_c.c
Compiling librpc/gen_ndr/ndr_svcctl_c.c
Compiling librpc/gen_ndr/ndr_wkssvc_c.c
Compiling registry/reg_parse.c
Compiling
2009 Jul 01
3
[LLVMdev] Generatin code for an ARM-LINUX machine
Hello Misha,
I used the snapshots for the latest stable version (70786), and I followed
the instructions inside of README file (very clear!!!)
However, when I ran the hello program, I get an unrecognized option message.
Bellow are the details.
============================================
jcmartin78 at jcmartin78-laptop:~/LLVM/my-test$ llvmc hello.c
as: unrecognized option '-meabi=4'
2012 Jul 23
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Sun, Jul 22, 2012 at 11:12 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 22 July 2012 22:03, salvatore benedetto
> <salvatore.benedetto at gmail.com> wrote:
>> While we are at it, if a new comer would like to understand where everything
>> takes place, where should he look?
>>
>> I did a grep in the source and eventually ended up in
2013 Mar 10
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi,
I am trying to optimize some benchmarks using LLVM and run them on gem5 simulator (build for ARM). I am using Sourcery Codebench cross-compiler for ARM on my x-86 machine.
My steps up till now have been using the following commands.
1. clang -static -emit-llvm -march=armv7-a -mfloat-abi=soft -target arm-elf a.cpp -c -integrated-as \
2011 Jan 08
0
[LLVMdev] LLVM-GCC build failed
On Jan 8, 2011, at 8:04 AM, akramul azim wrote:
> Hi
>
> I am using LLVM and LLVM-GCC from SVN (version number: 122880). And I am using arm-2009q1-176-arm-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
2009 Nov 14
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
Hi,
As you said i downloaded arm toolchain from codesourcery(2009q3 with gcc
4.4.1 version).. if i use this toolchain i am getting the following error..
make[2]: Entering directory
`/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis'
llvm[2]: Compiling LoopPass.cpp for Release build
if arm-none-linux-gnueabi-g++
-I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/include