From b3bbcba45e12eb68a1040f47b2c281d8b87d78e9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 2 Jun 2004 20:37:02 +0000 Subject: Update to include llc on x86 and other systems git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13967 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GettingStarted.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docs/GettingStarted.html') diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 8f7ab40..2d3c33c 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -1142,18 +1142,19 @@ are code generators for parts of LLVM infrastructure.

% 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