From: Chris Lattner Date: Wed, 2 Jun 2004 20:37:02 +0000 (+0000) Subject: Update to include llc on x86 and other systems X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b3bbcba45e12eb68a1040f47b2c281d8b87d78e9;p=oota-llvm.git 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 --- diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 8f7ab4003ed..2d3c33cc914 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