From a7974ccd97192ca531d3153cea1d119d80774eb6 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 9 Feb 2007 15:59:08 +0000 Subject: Remove references to gccld and gccas, adjusting the documentation to mention llvm-ld and opt instead (if appropriate). llvm-svn: 34094 --- llvm/docs/GettingStarted.html | 46 +++++++++++-------------------------------- 1 file changed, 11 insertions(+), 35 deletions(-) (limited to 'llvm/docs/GettingStarted.html') diff --git a/llvm/docs/GettingStarted.html b/llvm/docs/GettingStarted.html index 41ec511e14e..3684e4a6558 100644 --- a/llvm/docs/GettingStarted.html +++ b/llvm/docs/GettingStarted.html @@ -1342,11 +1342,10 @@ information is in the Command Guide.

LLVM assembly.
llvm-ld
-
llvm-ld is very similar to gccld and provides a general purpose - and extensible linker for LLVM. This is the linker invoked by llvmc. - It allows optimization modules to be loaded so that language specific - optimizations can be applied at link time. This tool is considered - experimental.
+
llvm-ld is a general purpose and extensible linker for LLVM. + This is the linker invoked by llvmc. It performsn standard link time + optimizations and allows optimization modules to be loaded and run so that + language specific optimizations can be applied at link time.
llvm-link
llvm-link, not surprisingly, links multiple LLVM modules into @@ -1368,36 +1367,13 @@ information is in the Command Guide.

the -march=c option).
llvm-gcc
-
llvm-gcc is a GCC-based C frontend - that has been retargeted to emit LLVM code as the machine code output. It - works just like any other GCC compiler, taking the typical -c, -S, -E, - -o options that are typically used. The source code for the - llvm-gcc tool is available as a separate CVS module. -
-
-
gccas
-
This tool is invoked by the llvm-gcc frontend as the - "assembler" part of the compiler. This tool actually assembles LLVM - assembly to LLVM bytecode, performs a variety of optimizations, and - outputs LLVM bytecode. Thus when you invoke - llvm-gcc -c x.c -o x.o, you are causing gccas to be - run, which writes the x.o file (which is an LLVM bytecode file - that can be disassembled or manipulated just like any other bytecode - file). The command line interface to gccas is designed to be - as close as possible to the system `as' utility so that - the gcc frontend itself did not have to be modified to interface to - a "weird" assembler.
- -
gccld
-
gccld links together several LLVM bytecode files into one - bytecode file and does some optimization. It is the linker invoked by - the GCC frontend when multiple .o files need to be linked together. - Like gccas, the command line interface of gccld is - designed to match the system linker, to aid interfacing with the GCC - frontend.
-
-
-
+
llvm-gcc is a GCC-based C frontend that has been retargeted to + use LLVM as its backend instead of GCC's RTL backend. It can also emit LLVM + byte code or assembly (with the -emit-llvm option) instead of the + usual machine code output. It works just like any other GCC compiler, + taking the typical -c, -S, -E, -o options that are typically used. + Additionally, the the source code for llvm-gcc is available as a + separate CVS module.
opt
opt reads LLVM bytecode, applies a series of LLVM to LLVM -- cgit v1.2.3