Displaying 3 results from an estimated 3 matches for "dd52e2ba".
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
Ashay,
If I understand correctly, in hw.o you would have llvm bytecode, while
linker expects regular object binary. Probably first you need to emit
asm out of bytecode using llc?
- D.
2011/9/12 Ashay Rane <ashay.rane at tacc.utexas.edu>:
> Hello,
> Sorry for the late reply. Using dragonegg worked well, thanks all!
> Just as a note... I had to use llvm-ld during the link step
2011 Sep 12
3
[LLVMdev] llvm-gfortran problems
Hello,
Sorry for the late reply. Using dragonegg worked well, thanks all!
Just as a note... I had to use llvm-ld during the link step because gfortran
could not link bitcode. Here's an example of the error shown when using
gfortran instead of llvm-ld:
$ ${GCC_4_5_0}/bin/gfortran hw.f -c -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so
-o hw.o -flto -emit-llvm -S
$ ${LLVM_2_9}/bin/opt -mem2reg hw.o
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
...ist
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110912/dd52e2ba/attachment.html>