search for: hello_gcc_asm

Displaying 3 results from an estimated 3 matches for "hello_gcc_asm".

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)
...y), also at this point I'm trying to avoid having to build all of llvm myself and just use what is available pre-built from the site. I was wondering how to actually create the exe? For example with gcc: gcc hello.c -S -o hello_gcc.s produces a native assembly file and then gcc hello_gcc.s -o hello_gcc_asm.exe will produce the final "hello world" I can run. With llvm, I've done: hello.c to hello.ll via the online LLVM compiler tool (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...
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() {