search for: llvmgcc

Displaying 20 results from an estimated 278 matches for "llvmgcc".

2004 Jul 28
0
[LLVMdev] Compiler Driver [high-level comments]
...mmand line arguments, read its > configuration data, and invoke the compilation, linking, and > optimization tools necessary to complete the user's request. Its basic I'm not sure that I agree with this. Compilers need to be extremely predictable and simple. In particular, saying: llvmgcc x.c y.c z.c should invoke exactly the same tools as: llvmgcc x.c -c llvmgcc y.c -c llvmgcc z.c -c llvmgcc x.o y.o z.o I don't necessarily think that you're contradicting this, I just wanted to make sure we're on the same page. > 4. SIMILAR OPTIONS AS GCC > ====================...
2010 Nov 12
0
[LLVMdev] LLVM test-suite support for dragonegg / Fortran
Hi Tobias, > I committed an extended version of that patch to llvm core and the test suite. > Can you have a look, if it works for you. if I configure like this then the configure script thinks llvm-gcc is not dragonegg: configure --with-llvmgcc="gcc-4.5 -fplugin=path/dragonegg.so" --with-llvmgxx="g++-4.5 -fplugin=path/dragonegg.so" There are several reasons for this. First off, the test if test -x "$LLVMGCC" ; then fails because "g++-4.5 -fplugin=path/dragonegg.so" is indeed not an executable....
2004 Jul 29
1
[LLVMdev] Compiler Driver [high-level comments]
...> configuration data, and invoke the compilation, linking, and > > optimization tools necessary to complete the user's request. Its basic > > I'm not sure that I agree with this. Compilers need to be extremely > predictable and simple. In particular, saying: > > llvmgcc x.c y.c z.c > > should invoke exactly the same tools as: > > llvmgcc x.c -c > llvmgcc y.c -c > llvmgcc z.c -c > llvmgcc x.o y.o z.o > > I don't necessarily think that you're contradicting this, I just wanted to > make sure we're on the same page. I'...
2010 Nov 10
2
[LLVMdev] LLVM test-suite support for dragonegg / Fortran
On 11/08/2010 03:18 PM, Duncan Sands wrote: > Hi Tobias, > >> I am very interested in using dragonegg as a fortran frontend for the >> LLVM test >> suite, as a start to improve fortran support. >> >> I believe this should be easy, but when I looked into this I had the >> impression >> the nightly tester in the llvm test-suite does not even support
2002 Oct 29
2
[LLVMdev] problems with llvmgcc
Dear llvm, I just tried to compile a simple file hello.c. But each time I used llvmgcc hello.c, it gave me the following error: xli3|csil-suna33|~/cs426|[13]% llvmgcc hello.c as: error opening '/var/tmp//ccapglpE.o': file exists! Use -f command line argument to force output I really got confused. Could you please let me know what's wrong? thanks, Jerry
2002 Oct 30
2
[LLVMdev] problems with llvmgcc
Thanks, Chris, Below is the output of 'llvmgcc he.c -v' xli3|csil-suna27|~/cs426|[35]% llvmgcc he.c -v Reading specs from /usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/specs Configured with: /home/vadve/lattner/cvs/gcc/configure --srcdir=/home/vadve/lattner/cvs/gcc --prefix=/home/vadve/lattner/cvs/gcc_install_spa...
2002 Oct 31
1
[LLVMdev] problems with llvmgcc
Dear Prof. Adve, Now I can use llvmgcc to compile a .c file into .bc file. But I still have trouble simply run the .bc code. Below is the sequence I got when I tried. I really don't know what's going on here. Please let me know how can I fix it. Thanks, xiaodong xli3|csil-suna48|~/cs426|[13]% llvmgcc scalarize.c -o scalarize...
2002 Oct 30
0
[LLVMdev] problems with llvmgcc
The problem with llvmgcc invoking as instead of llvm-as has been fixed. 3 llvm-specific executables needed to be copied into a default location where gcc can find them if it does not find them as configured (gcc was configured for the paths on our research machines and copied over). Let us know if you have additional prob...
2004 Jul 28
3
[LLVMdev] Compiler Driver Requrements & Design (Comments Solicited!)
LLVMers, As part of my work on bug 353: Create Front End Framework And Compiler Driver (http://llvm.cs.uiuc.edu/PR353), I'm starting a discussion on the design and requirements of the compiler driver. If you have comments on this, by all means PLEASE chime in. This is by no means cast in stone. The results of the ensuing discussion will be documented in PR353 (and elsewhere) and I'll use
2004 Aug 03
3
[LLVMdev] Compiler Driver [high-level comments]
...>> configuration data, and invoke the compilation, linking, and >> optimization tools necessary to complete the user's request. Its basic > > I'm not sure that I agree with this. Compilers need to be extremely > predictable and simple. In particular, saying: > > llvmgcc x.c y.c z.c > > should invoke exactly the same tools as: > > llvmgcc x.c -c > llvmgcc y.c -c > llvmgcc z.c -c > llvmgcc x.o y.o z.o > > I don't necessarily think that you're contradicting this, I just > wanted to > make sure we're on the same page. >...
2002 Oct 29
0
[LLVMdev] problems with llvmgcc
> I just tried to compile a simple file hello.c. But each time I used > llvmgcc hello.c, it gave me the following error: > > xli3|csil-suna33|~/cs426|[13]% llvmgcc hello.c > as: error opening '/var/tmp//ccapglpE.o': file exists! > Use -f command line argument to force output First try doing an 'rm -f /var/tmp/*' and try again. If that still doesn&...
2008 Feb 27
2
[LLVMdev] llvm-gcc and mips
I tried to cross-compile llvm-gcc for mips, but it crashes somewhere in the build process: /home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/./gcc/xgcc -B/home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/./gcc/ -B/home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/../../install/llvmgcc-mips/mips-unknown-linux-gnu/bin/ -B/home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/../../install/llv...
2002 Nov 01
0
[LLVMdev] problem with llvmgcc and lli
Finally lli and llvmgcc can work under my directory. I wrote the following simple program and compiled it using gcc and then run it without any problem. But when I tried to compile it using llvmgcc and lli, llvmgcc gave me the following error message which I cannot understand: xli3|csil-suna37|~/cs426|[181]% llvmgcc tes...
2004 May 05
2
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
> For example: > $ llvmgcc ackerman.c -o ackerman -Wl,-native-cbe BTW, Chris, what should be then an analogy of "gcc -O3 -S foo.c" in LLVM framework? The invocation of $ llvmgcc -S ackerman.c -o ackerman -Wl,-native-cbe does not produce native assebler output as one might expect. -- Valery
2010 Nov 12
1
[LLVMdev] LLVM test-suite support for dragonegg / Fortran
...te: > Hi Tobias, > >> I committed an extended version of that patch to llvm core and the >> test suite. >> Can you have a look, if it works for you. > > if I configure like this then the configure script thinks llvm-gcc is not > dragonegg: > > configure --with-llvmgcc="gcc-4.5 -fplugin=path/dragonegg.so" > --with-llvmgxx="g++-4.5 -fplugin=path/dragonegg.so" > > There are several reasons for this. First off, the test > if test -x "$LLVMGCC" ; then > fails because "g++-4.5 -fplugin=path/dragonegg.so" is indeed...
2002 Sep 19
0
[LLVMdev] Running llvmgcc only (under test/Programs)
Since we only have a Solaris version of the front-end (llvmgcc), we need to compile .c -> .ll files on a solaris machines in order to run the tests in Programs/. Doing this manually for all the C source files is really difficult. I added a flag called RUN_GCC_ONLY in test/Programs/Makefile.programs that will cause gmake to run only llvmgcc. Run the follo...
2004 May 05
0
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
Valery A.Khamenya wrote: >>For example: >>$ llvmgcc ackerman.c -o ackerman -Wl,-native-cbe > > > BTW, Chris, what should be then an analogy > of "gcc -O3 -S foo.c" in LLVM framework? > > The invocation of > > $ llvmgcc -S ackerman.c -o ackerman -Wl,-native-cbe > > does not produce native asseb...
2004 Dec 14
0
[LLVMdev] User visible changes to llvmgcc and runtime libraries
Hi all LLVM CVS users, Recently, the LLVM makefiles have changed how runtime libraries are handled for the C/C++ frontend. Please take the following steps (assuming 'llvmgccdir' is whatever you normally pass to configure as the --with-llvmgcdir option): 1. Go into your llvm/runtime directory, and run 'make install-bytecode'. This will install runtime libraries into llvmgccdir/lib. 2. Remove the old 'bytecode-libs' directory from llvmgcc:...
2007 Jan 22
0
[LLVMdev] more llvmgcc build issues.
Hi, Last night's attempt to build llvmgcc4 with svn head ends in this . This is on an x86 FC5 environment. /home/ramana/llvm/llvmgccfrontend/llvmgcc4-source/build-llvmgcc/gcc/xgcc -B/home/ramana/llvm/llvmgccfrontend/llvmgcc4-source/build-llvmgcc/gcc/ -B/home/ramana/llvm/install-llvm/i686-pc-linux-gnu/bin/ -B/home/ramana/llvm/install-llvm...
2003 Dec 23
4
[LLVMdev] pthread?
hi, I compile a pthread program using llvmgcc, but when i run pthread.ll, it show: ------------------ [yue at RH9 test]$ llvmgcc pthread.c -o pthread.ll [yue at RH9 test]$ ls pthread pthread.c pthread.ll pthread.ll.bc [yue at RH9 test]$ ./pthread.ll Creating thread 0 WARNING: Cannot resolve fn 'pthread_create' using a dummy noop fu...