[LLVMdev] llvm-as parse error

code_nf code_nf at sohu.com
Mon Apr 14 08:34:23 PDT 2008


hi:
I works with llvm2.2 on Ubuntu 7.10 
And the compile command is as follows:
To generate hello.ll, I used:
llvm-gcc -O3 -emit-llvm hello.c -S -o hello.ll

and to geneate hello.bc, I used:
llvm-as hello.ll

Thank you for reply.

nifan
2008-04-14 



code_nf 



发件人: Anton Korobeynikov 
发送时间: 2008-04-14  23:20:47 
收件人: LLVM Developers Mailing List 
抄送: 
主题: Re: [LLVMdev] llvm-as parse error 
 
Hello.

> I have just started to use llvm and confronted with a problem: when I
> want to transform something very simple for name.ll to name.bc with
> llvm-as name.ll, some errors occured:   error: parse error, expecting
> `GLOBAL' or `CONSTANT' while reading token: 'target'
Works for me. Please indicate, which LLVM version you're using, how you
compiled it, etc.
-- 
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.13/1376 - Release Date: 2008-4-13 13:45
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080414/b50dd9dc/attachment.html>


More information about the llvm-dev mailing list