This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.03, sparc-sun-solaris2.6: notes on bootstrap
- To: Zack Weinberg <zack at rabi dot phys dot columbia dot edu>
- Subject: Re: egcs 1.03, sparc-sun-solaris2.6: notes on bootstrap
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 21 May 1998 16:28:32 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199805201821.OAA16184@rabi.phys.columbia.edu>you write:
> - You must use GNU make. Sun make doesn't like the Fortran makefile;
> it complains about not knowing how to make `f/bad.c'. If you
> accidentally use Sun make, you have to delete the build tree and start
> over or GNU make will have the same problem.
At one time it did say "you must use gnu-make", but that was relaxed.
You can actually use other make programs, but generally you have to
build in the source tree for them to work.
Certainly the preferred method is to build in a directory separate
from the sources using gnu-make.
> - Bootstrapping with gcc 2.7.2 configured for solaris2.5.1 gives a
> bunch of strange warnings due to conflicts between the fixed includes
> for 2.5.1 and the system headers for 2.6. I think this is harmless,
> but I'm not sure. (Also it frightened my apprentice.) Using Sun's
> unbundled compiler works fine.
I don't think this really belongs in the installation notes.
Basically it is unsafe to use a compiler built for one version of
an operating system on a different version of that operating system.
Often you can get away with it, but I strongly recommend against it.
jeff