Recommending gcc 2.95.1
Andreas Jaeger
aj@suse.de
Sun Jan 9 08:27:00 GMT 2000
>>>>> Martin v Loewis writes:
> In INSTALL of glibc 2.1.3pre1, the recommended gcc version is
> 2.95.1. Should this be updated to 2.95.2, or is there some problem
> with 2.95.2?
It should be updated.
The appended patch also includes changes to mention configparm.
Uli, please apply this patch to glibc 2.2, bring all patches from
install.texi to glibc 2.1.3 and regenerate INSTALL.
Thanks,
Andreas
2000-01-09 Andreas Jaeger <aj@suse.de>
* manual/install.texi (Tools for Compilation): Update required
compiler version.
(Configuring and compiling): Restore old comments about
configparms; modify to reflect current usage.
============================================================
Index: manual/install.texi
--- manual/install.texi 1999/12/21 16:30:24 1.36
+++ manual/install.texi 2000/01/09 15:52:30
@@ -220,6 +220,25 @@
manual, as Info files. You can regenerate those with @w{@code{make
info}}, but it shouldn't be necessary.
+The library has a number of special-purpose configuration parameters
+which you can find in @file{Makeconfig}. These can be overwritten with
+the file @file{configparms}. To change them, create a
+@file{configparms} in your build directory and add values as appropriate
+for your system. The file is included and parsed by @code{make} and has
+to follow the conventions for makefiles.
+
+It is easy to configure the GNU C library for cross-compilation by
+setting a few variables in @file{configparms}. Set @code{CC} to the
+cross-compiler for the target you configured the library for; it is
+important to use this same @code{CC} value when running
+@code{configure}, like this: @samp{CC=@var{target}-gcc configure
+@var{target}}. Set @code{BUILD_CC} to the compiler to use for for
+programs run on the build system as part of compiling the library. You
+may need to set @code{AR} and @code{RANLIB} to cross-compiling versions
+of @code{ar} and @code{ranlib} if the native tools are not configured to
+work with object files for the target you configured for.
+
+
@node Running make install
@appendixsec Installing the C Library
@cindex installing
@@ -318,12 +337,12 @@
Version 3.76.1 seems OK but some people have reported problems.
@item
-EGCS 1.1.1, 1.1 or 1.0.3, or GCC 2.8.1, 2.95, 2.95.1
+EGCS 1.1.1, 1.1 or 1.0.3, or GCC 2.8.1, 2.95 or newer
The GNU C library can only be compiled with the GNU C compiler family.
As of the 2.1 release, EGCS 1.0.3 or higher is required. GCC 2.8.1 can
also be used (but see the FAQ for reasons why you might not want to).
-Earlier versions simply are too buggy. As of this writing, GCC 2.95.1
+Earlier versions simply are too buggy. As of this writing, GCC 2.95.2
is the compiler we advise to use.
You can use whatever compiler you like to compile programs that use GNU
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-alpha
mailing list