gcc.texi: Document recommend means to provide software floating point libraries in...
authorJeffrey A Law <law@cygnus.com>
Sat, 7 Aug 1999 05:11:19 +0000 (05:11 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 7 Aug 1999 05:11:19 +0000 (23:11 -0600)
        * gcc.texi: Document recommend means to provide software floating
        point libraries in libgcc.a

From-SVN: r28565

gcc/ChangeLog
gcc/gcc.texi

index 413a4b08d0d35e63c855ecc4006492927721ee92..10fc27b858e79bfcaa8b513b13996bec5b674d54 100644 (file)
@@ -1,3 +1,8 @@
+Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * gcc.texi: Document recommend means to provide software floating
+       point libraries in libgcc.a
+
 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
 
        * c-lex.c (yylex): We can have a number with no digits.
index b9823fa8eb0003f5918c80b71b361826789b358b..8d54b8d3bedb9ee366952731a17eb4ab8b4a71b8 100644 (file)
@@ -3929,6 +3929,29 @@ Compiler flags to use when compiling @file{libgcc2.c}.
 A list of source file names to be compiled or assembled and inserted
 into @file{libgcc.a}.
 
+@findex Floating Point Emulation
+@item Floating Point Emulation
+To have GCC include software floating point libraries in @file{libgcc.a}
+define @code{FPBIT} and @code{DPBIT} along with a few rules as follows:
+@smallexample
+# We want fine grained libraries, so use the new code to build the
+# floating point emulation libraries.
+FPBIT = fp-bit.c
+DPBIT = dp-bit.c
+
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+        echo '#define FLOAT' > fp-bit.c
+        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+        cat $(srcdir)/config/fp-bit.c > dp-bit.c
+@end smallexample
+
+You may need to provide additional #defines at the beginning of @file{fp-bit.c}
+and @file{dp-bit.c} to control target endianness and other options.
+
+
 @findex CRTSTUFF_T_CFLAGS
 @item CRTSTUFF_T_CFLAGS
 Special flags used when compiling @file{crtstuff.c}.