Displaying 3 results from an estimated 3 matches for "d9024".
Did you mean:
19024
2009 May 30
0
[LLVMdev] Getting started (Windows)
Hi,
> Copied it's output
> ; ModuleID = '/tmp/webcompile/_3997_0.bc'
> target datalayout =
> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
> target triple = "i386-pc-linux-gnu"
> @.str = internal constant [12 x i8] c"hello world\00" ; <[12 x i8]*> [#uses=1]
2009 May 30
3
[LLVMdev] Getting started (Windows)
...ol
(http://llvm.org/demo/index.cgi)
then
llvm-as hello.ll
to create the hello.bc, then
llc hello.bc
to create the hello.s
but if I try and create an exe from this assembly file with gcc I get
a number of errors,
Likewise, "cl.exe" (microsoft compiler) says "cl : Command line
warning D9024 : unrecognized source file type 'hello.s', object file
assumed"
PS: Including a link to this: "http://llvm.org/cmds/" in the mingw
distribution would probably help other people get up and running
quicker.
2009 May 30
3
[LLVMdev] Getting started (Windows)
Hi,
I'm just trying to get started with a simple example with LLVM under
windows. I downloaded the mingw binaries from the website and would
like to compile a program. (PS: The mingw binaries did not come with
any documentation on what they are and how to use them)
I used the online code generator (http://llvm.org/demo/index.cgi) to
compile hello world:
#include <stdio.h>
int main() {