[LLVMdev] I try to compile to LLVM code
samuraileumas at yahoo.com
Thu Aug 12 14:46:56 PDT 2010
If you want to compile bitcode into assembly, you need to invoke the llvm-as and
llc commands on it to convert it from LLVM Assembly source to bitcode and then
native assembly source instead of llvm-gcc.
If that doesn't work, post back here,
----- Original Message ----
> From: Borneq <borneq at wp.pl>
> To: llvmdev at cs.uiuc.edu
> Sent: Wed, August 11, 2010 1:01:09 PM
> Subject: [LLVMdev] I try to compile to LLVM code
> I am beginner and Windows user.
> In directory MinGW\bin\ I call llvm-gcc.exe hello.c -emit-llvm -S
> and file hello.s is created.
> I want to compile this assembler code by calling llvm-gcc.exe hello.c
> -emit-llvm, it appear collect2: cannot find 'ld'; ld.exe is in this
> directory. I have problem with paths?
> How I can compile not directly c do bytecode but hello.s to bytecode?
> View this message in context:
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev