[llvm-commits] CVS: llvm/docs/CommandGuide/llvmgcc.pod llvmgxx.pod

Reid Spencer reid at x10sys.com
Sun Feb 11 21:03:12 PST 2007



Changes in directory llvm/docs/CommandGuide:

llvmgcc.pod updated: 1.8 -> 1.9
llvmgxx.pod updated: 1.8 -> 1.9
---
Log message:

Update for llvm-gcc v4.0 usage.


---
Diffs of the changes:  (+16 -36)

 llvmgcc.pod |   26 ++++++++------------------
 llvmgxx.pod |   26 ++++++++------------------
 2 files changed, 16 insertions(+), 36 deletions(-)


Index: llvm/docs/CommandGuide/llvmgcc.pod
diff -u llvm/docs/CommandGuide/llvmgcc.pod:1.8 llvm/docs/CommandGuide/llvmgcc.pod:1.9
--- llvm/docs/CommandGuide/llvmgcc.pod:1.8	Fri Feb  9 10:56:25 2007
+++ llvm/docs/CommandGuide/llvmgcc.pod	Sun Feb 11 23:02:56 2007
@@ -11,15 +11,12 @@
 =head1 DESCRIPTION
 
 The B<llvm-gcc> command is the LLVM C front end.  It is a modified
-version of gcc that takes C programs and compiles them into LLVM
-bytecode or assembly language, depending upon the options.
+version of gcc that compiles C/ObjC programs into native objects, LLVM
+bytecode or LLVM assembly language, depending upon the options.
 
-Unless the B<-S> option is specified, B<llvm-gcc> will use the
-L<gccas|gccas> program to perform some optimizations and create an
-LLVM bytecode file. Unless the B<-c> option is specified, B<llvm-gcc>
-will also use the L<gccld|gccld> program to perform further
-optimizations and link the resulting bytecode file(s) with support
-libraries to create an executable program.
+By default, B<llvm-gcc> compiles to native objects just like GCC does. If the
+B<-emit-llvm> option is given then it will generate LLVM bytecode files instead.
+If B<-S> (assembly) is also given, then it will generate LLVM assembly. 
 
 Being derived from the GNU Compiler Collection, B<llvm-gcc> has many
 of gcc's features and accepts most of gcc's options.  It handles a
@@ -64,17 +61,10 @@
 Link in the library libI<name>.[bc | a | so].  This library should
 be a bytecode library.
 
-=item B<-Wa,>I<option>
+=item B<-emit-llvm>
 
-Pass I<option> to gccas
-
-=item B<-Wl,>I<option>
-
-Pass I<option> to gccld
-
-=item B<-Wa,-disable-inlining -Wl,-disable-inlining>
-
-Fully disable all inlining
+Make the output be LLVM bytecode (or assembly) instead of native object (or
+assembly).
 
 =back
 


Index: llvm/docs/CommandGuide/llvmgxx.pod
diff -u llvm/docs/CommandGuide/llvmgxx.pod:1.8 llvm/docs/CommandGuide/llvmgxx.pod:1.9
--- llvm/docs/CommandGuide/llvmgxx.pod:1.8	Fri Feb  9 10:56:25 2007
+++ llvm/docs/CommandGuide/llvmgxx.pod	Sun Feb 11 23:02:56 2007
@@ -11,15 +11,12 @@
 =head1 DESCRIPTION
 
 The B<llvm-g++> command is the LLVM C++ front end.  It is a modified
-version of g++ that takes C++ programs and compiles them into LLVM
-bytecode or assembly language, depending upon the options.
+version of g++ that compiles C++/ObjC++ programs into native code, 
+LLVM bytecode or assembly language, depending upon the options.
 
-Unless the B<-S> option is specified, B<llvm-g++> will use the
-L<gccas|gccas> program to perform some optimizations and create an
-LLVM bytecode file. Unless the B<-c> option is specified, B<llvm-g++>
-will also use the L<gccld|gccld> program to perform further
-optimizations and link the resulting bytecode file(s) with support
-libraries to create an executable program.
+By default, B<llvm-g++> compiles to native objects just like GCC does. If the
+B<-emit-llvm> option is given then it will generate LLVM bytecode files instead.
+If B<-S> (assembly) is also given, then it will generate LLVM assembly. 
 
 Being derived from the GNU Compiler Collection, B<llvm-g++> has many
 of g++'s features and accepts most of g++'s options.  It handles a
@@ -64,17 +61,10 @@
 Link in the library libI<name>.[bc | a | so].  This library should
 be a bytecode library.
 
-=item B<-Wa,>I<option>
+=item B<-emit-llvm>
 
-Pass I<option> to gccas
-
-=item B<-Wl,>I<option>
-
-Pass I<option> to gccld
-
-=item B<-Wa,-disable-inlining -Wl,-disable-inlining>
-
-Fully disable all inlining
+Make the output be LLVM bytecode (or assembly) instead of native object (or
+assembly).
 
 =back
 






More information about the llvm-commits mailing list