Displaying 2 results from an estimated 2 matches for "llvmc2_".
Did you mean:
llvmc2
2008 May 30
0
[LLVMdev] notes on llvmc2
...metimes cannot catch the
mailing list directly, so please, CC him also (foldr at codedgers.com)
I'll try to answer some questions and Mikhael will try to resolve others.
> * why using /tmp at all?
Same does gcc, we don't have pipe option yet.
> And if, why /tmp/llvm_* and not /tmp/llvmc2_* ?
Well, llvm_ - because we're using general LLVM routines for generation
of temp filenames, which use "llvm" prefix.
> All of this is based on LLVM SVN 51761.
What is your platform?
--
WBR, Anton Korobeynikov
2008 May 30
2
[LLVMdev] notes on llvmc2
...ling. Now I tried the new llvmc2:
$ llvmc2 -opt -v main.c
llvm-g++ -c -x c main.c -o /tmp/llvm_KeApik/main.bc -emit-llvm
llvmc2: Can't find program 'llvm-g++'
* after this, the directory /tmp/llvm_KeApik was not removed
* why using /tmp at all? And if, why /tmp/llvm_* and not
/tmp/llvmc2_* ?
* why calling "llvm-g++ -x c" and not "llvm-gcc" ?
* a --dry-run switch would be nice
Now, llvm-gcc was was finally compiled and installed, so I retried:
$ rm -rf /tmp/llvm_*
$ llvmc2 -opt -v main.c
llvm-g++ -c -x c main.c -o /tmp/llvm_084K2D/main.bc -emit-llvm
opt /tmp/...