From b3bbcba45e12eb68a1040f47b2c281d8b87d78e9 Mon Sep 17 00:00:00 2001
From: Chris Lattner
% llvm-dis < hello.bc | less
-
Compile the program to native Sparc assembly using the code - generator (assuming you are currently on a Sparc system):
+Compile the program to native assembly using the LLC code + generator:
% llc hello.bc -o hello.s
-Assemble the native sparc assemble file into a program:
+Assemble the native assembly language file into a program:
-% /opt/SUNWspro/bin/cc -xarch=v9 hello.s -o hello.sparc
+Solaris:% /opt/SUNWspro/bin/cc -xarch=v9 hello.s -o hello.native
+Others:% gcc hello.s -o hello.native
-Execute the native sparc program:
+Execute the native code program:
-% ./hello.sparc
% ./hello.native
-- cgit v1.1