similar to: [LLVMdev] Generatin code for an ARM-LINUX machine

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Generatin code for an ARM-LINUX machine"

2009 Jun 29
0
[LLVMdev] Generatin code for an ARM-LINUX machine
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-compiler in llvm/utils/crosstool/ARM/ . 2009/6/29 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> > I am using the below configuration: > > ./configure --with-llvmgccdir=/home/jcmartin78/LLVM/llvm-gcc4.2 >
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-compiler in > llvm/utils/crosstool/ARM/ . >
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'
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks John, I just realized that I am not working on the same "branch" of LLVM. Looking the latest or the newest version I saw the folder with the script, but I did not see a README file. I ran the script, and I get: ********** chown: cannot access `/usr/local/codesourcery': No such file or directory ********** Therefore my question is if the script depends on others folders (or
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
2009/6/30 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> > Thanks John, > > I just realized that I am not working on the same "branch" of LLVM. Looking > the latest or the newest version I saw the folder with the script, but I did > not see a README file. > > I ran the script, and I get: > > ********** > chown: cannot access
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 Carlos > > -------------- next part -------------- An HTML attachment was
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
On Wed, Jul 1, 2009 at 12:01 PM, Juan Carlos Martinez Santos<juanc.martinez.santos at gmail.com> wrote: >  as -meabi=4 -o /tmp/ccYxnIEs.o /tmp/ccy6iYri.s > as: unrecognized option '-meabi=4' [snip] > Any idea what could be wrong? It's probably not finding the right assembler (i.e. using the x86-64 as instead of the arm as). -Eli
2009 Jun 24
1
[LLVMdev] Internal passes in LLVMC
Hello, When I run llvm-gcc -emit-llvm hello.c -c -o hello.bc... what are the (default) passes that the driver is using? Where I can information about it? I want to examinate what are the sequences of passes that LLVM runs in each process. Thanks in advance, -- Juan Carlos -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Aug 13
2
[LLVMdev] Problem with stock llvmc configuration for C
Hi, Apparently there are two bugs in tools/llvmc/c: /.../llvm/tools/llvmc/c:12: Error: Invalid top level configuration item /.../llvm/tools/llvmc/c:28: Error: Expecting a program name /.../llvm/tools/llvmc/c had 2 errors. Terminating. The first error relates to the following line(s): lang.libs=%llvmgccdir%/lib %llvmgccdir%/lib \ %llvmgccdir%/lib/gcc/%llvmgccarch% ... the other one to:
2007 Aug 24
2
[LLVMdev] llvmc doesn't work for compilation nor linking
Is llvmc meant for compilation? $ llvmc -c a.c -o a.o /usr/src/llvm/dist/etc/llvm/c:55: Error: Expecting output type value /usr/src/llvm/dist/etc/llvm/c had 1 errors. Terminating. The offending line contains: optimizer.output = bytecode which doesn't seem to be understood by llvmc. If I uncomment this line, I get another error message: $ llvmc -c a.c -o a.o llvmc: Can't find program
2007 Aug 24
0
[LLVMdev] llvmc doesn't work for compilation nor linking
On Aug 24, 2007, at 1:52 PM, Holger Schurig wrote: > Is llvmc meant for compilation? > I'm not sure what the status of llvmc is (is anyone working on it?), but I don't believe it was ready for real use or was finished. If you would like to work on it, patches are welcomed! Thanks, Tanya > $ llvmc -c a.c -o a.o > /usr/src/llvm/dist/etc/llvm/c:55: Error: Expecting output
2006 Aug 14
0
[LLVMdev] Problem with stock llvmc configuration for C
On Sun, 2006-08-13 at 21:18 +0200, Bram Adams wrote: > Hi, > > Apparently there are two bugs in tools/llvmc/c: This tool is, as yet, unfinished. > > /.../llvm/tools/llvmc/c:12: Error: Invalid top level configuration item > /.../llvm/tools/llvmc/c:28: Error: Expecting a program name > /.../llvm/tools/llvmc/c had 2 errors. Terminating. > > The first error relates to
2006 Aug 16
3
[LLVMdev] Problem with stock llvmc configuration for C
Hi, Op 14-aug-06, om 09:29 heeft Reid Spencer het volgende geschreven: > >> Apparently, %llvmgccdir% and %llvmcc1% are not recognized as a useful >> variable by the llvmc configuration parser. > > Actually, they are. See tools/llvmc/ConfigurationDriver.cpp around > line > 304. Also, they are recognized by the lexer. Its more likely that when > you configured LLVM
2009 Oct 12
3
[LLVMdev] Options in OPT
Hello, There is an option that I don't know how to used it. *-S* Write output in LLVM intermediate language (instead of bitcode). The option appears in the documentation, but I try to use it... I get the next message: ~/test$ opt -analyze hello.ll -o hello.bc -S opt: Unknown command line argument '-S'. Try: 'opt --help' I also try 'opt --help'; but the option is
2009 Jun 25
2
[LLVMdev] Problems with lli and hello.c
Hello, I just install the new newest version of LLVM. When I ran the hello.c example I got the below message. Somebody has an idea what is wrong? The problem is just with lli, the other commands worked as I expected. ********************** :~/LLVM/my-test$ lli hello.bc Tried to execute an unknown external function: i32 (i8*)* puts 0 lli 0x0861fab8 Stack dump: 0. Program arguments: lli
2009 Jun 19
2
[LLVMdev] Problems creating a pass
Hello, Following the tutorial for writing a pass, I found the next problem. ***************************** :~/llvm/test$ opt -load ../llvm/Debug/lib/mypass.so -mypass < hello.bc > /dev/null opt: Pass.cpp:151: void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&): Assertion `Inserted && "Pass registered multiple times!"' failed. Aborted
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:
2009 Jul 06
2
[LLVMdev] Address Space
Hello, Looking the Language Reference, there is something called "addrspace". It can be used to allocate a global variable into a specific area (always that the target supports it). How I can modify the ARM back-end in order to support at least two memory sections for Global Variables in the BSS section. My idea is to split the uninitialized global variables in two sections and to
2009 Sep 01
4
[LLVMdev] A simulation tool
Hello everybody, I am looking for a tool (in Linux or Windows) that allow me to get performance measures like cycle execution, cache accesses, etc. for an x86 architecture. I want to estimate the performance overhead due to the modification that I do using LLVM. Any suggestion is welcome. Thanks in advance, -- Juan Carlos -------------- next part -------------- An HTML attachment was
2009 Jun 25
0
[LLVMdev] Problems with lli and hello.c
Jello Juan, The interpreter is quite useless in its current state. Try using a JIT compiler for you computer from the lli command and it should work. --Sam > >From: Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> >To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> >Sent: Thursday, June 25, 2009 1:04:17 PM >Subject: [LLVMdev] Problems with lli