Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] problems with llvmgcc"
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 problems.
--Vikram
> -----Original Message-----
> From: llvmdev-admin
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
xli3|csil-suna48|~/cs426|[14]% scalarize
Cannot load value of
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_sparc --target=llvm
--enable-languages=c
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 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 following in
test/Programs to build .ll
2002 Oct 10
0
[LLVMdev] C Frontend updated
As I have been threatening:
(http://mail.cs.uiuc.edu/pipermail/llvmdev/2002-October/000141.html) to do
(http://mail.cs.uiuc.edu/pipermail/llvmdev/2002-September/000092.html) for
some time now, I have regenerated the X86 and Sparc C frontends. They are
now in-sync again and both emit the 'external' keyword instead of
'uninitialized' as appropriate (plus other changes).
If you are
2004 Aug 03
3
[LLVMdev] Compiler Driver [high-level comments]
I just had a chance to read some of follow-up comments on Reid's
initial document. I agree with Chris's discussion below of what is
needed for users to get IPO/lifelong opt'n via LLVM without extensive
changes to Makefiles, and about what .o files should contain. This is
in perfect agreement with what I just said about how users should view
LLVM.
--Vikram
2004 May 14
2
[LLVMdev] Can I disable the optimizaiton for llvmgcc?
Hi all LLVMor,
I just tried to compile a simple code and analyze the number of the basic blocks. But after compile, what I got, the bytecode is seems to be optimized bytecode. So the information of basic blocks is not what I expected. I want ot use the code as example to see how some of code optimization methods work. However, after compiling file using llvm test.c -o test, bytecode file
2004 Aug 03
0
[LLVMdev] Compiler Driver [high-level comments]
Some additional responses (this covers multiple previous messages):
> 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.
Thanks very much for taking the lead on this, Reid. I think this will
prove to be a valuable thing and, as you
2004 Dec 22
3
[LLVMdev] README: Build Environment Changes
LLVMers,
If you're not working from the CVS "head", you can ignore this.
Otherwise, please read it!
I have committed changes to CVS head that require changes to your build
environment. This is part of PR432. The changes involve getting the CFE
to build an executable named llvm-gcc instead of gcc. The hyphenated
name was chosen to be consistent with other LLVM tools, it is also
2004 Jul 28
0
[LLVMdev] Compiler Driver [high-level comments]
On Wed, 28 Jul 2004, Reid Spencer wrote:
> 2. MODE OF OPERATION
> ====================
> The driver will simply read its command 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
2004 Mar 28
0
[LLVMdev] Initial problems having installed LLVM
Great, thanks, it solved it!
Anders
-----Original Message-----
From: Chris Lattner <sabre at nondot.org>
To: llvmdev at cs.uiuc.edu
Date: Fri, 26 Mar 2004 10:08:02 -0600 (CST)
Subject: Re: [LLVMdev] Initial problems having installed LLVM
On Fri, 26 Mar 2004, Anders Alexandersson wrote:
> I have compiled LLVM without errors and try to do a simple hello world
> test using the llvmgcc
2002 Sep 19
0
[LLVMdev] C front-end news
Here are a few bits of news about the C frontend:
1. I have ported it to compile and run under linux. On our research
machines, it is available here:
/home/vadve/lattner/cvs/gcc_install_x86
Note that this C compiler will still generate "64-bit" LLVM files, thus
the code will probably not work right if run through the C backend,
then compiled on x86. For middle-end
2003 Nov 07
0
[LLVMdev] Re: usage questions
On Fri, 7 Nov 2003, Michelle Strout wrote:
> I plan on responding to your email to the various mailing lists, but
> first I want to run something past you.
Ok, email the lists is preferred though, because then there is an archive,
and others with similar questions can get them answered that way. I'm
CC'ing the list because some of the info in my response may be useful to
others.
2004 Mar 26
1
[LLVMdev] Initial problems having installed LLVM
Hello!
I have compiled LLVM without errors and try to do a simple hello world test using the llvmgcc frontend,
llvmgcc -o hello hello.c
and I get this error message:
gcc: installation problem, cannot exec `gccas': No such file or directory
What have I one wrong/what needs to be done?
Regards
Anders
----------------------------------------------------------------
Anders Alexandersson
2004 May 01
0
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
On Sat, 1 May 2004, [koi8-r] "Valery A.Khamenya[koi8-r] " wrote:
> there are two issues concerning invoking optimizations:
>
> 1.
> this document:
> http://llvm.cs.uiuc.edu/docs/GettingStarted.html
> is very nice, it would be good though to add in a section
>
> An Example Using the LLVM Tool Chain
>
> examples on optimization step.
That's an
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't work,
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 test.c -o test
test.c: In function `init':
test.c:10: warning: cast to
2004 Jul 29
1
[LLVMdev] Compiler Driver [high-level comments]
On Wed, 2004-07-28 at 11:26, Chris Lattner wrote:
> On Wed, 28 Jul 2004, Reid Spencer wrote:
> > 2. MODE OF OPERATION
> > ====================
> > The driver will simply read its command line arguments, read its
> > configuration data, and invoke the compilation, linking, and
> > optimization tools necessary to complete the user's request. Its basic
>
>
2004 Jun 22
3
[LLVMdev] Qestion about running LLVM
Hi,
I'm a newbie and just installed LLVM on a Linux box. I followe
"The LLVM Getting Started Guide" on the web and have some trouble
on the section "An Example Using the LLVM Tool Chain". When I compile
the simple hello.c program with "llvmgcc hello.c -o hello", the system
complains -- gcc: installation problem, cannot exec `gccas': Permission
denied. Does