This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling GCC 4.2.1 tarball using GCC 3.2.3


> Muthiah Annamalai wrote:
> > Hello there,
> > I am trying to compile GCC 4.2.1 using GCC 3.2.3. Even after massaging
> > some of the Makefiles, and warning flags etc, I run into certain symbols
> > like SIZEOF_REAL which arent converted from the #defines.
> >
> > For the GNU/Linux 2.4.21 machine, I was able to install GCC 3.4.6, on
> > a local path.
> >
> > I want to know what is the min version of GCC I want to install, to compile
> > GCC 4.x. My goal is not to have GCC cvs, precisely, but to use GCC 4.x.
> >
> gcc 4.2 is more critical than default gcc versions on header file syntax
> checking.  This is likely to be associated with headers other than those
> supplied by gcc.  In order to build gcc 4.2 or 4.3 on my systems, often
> using gcc 3.4.3 as the bootstrap compiler, I edit libcpp/Makefile.* and
> libstdc++/Makefile.* to remove the WERROR macros which make warnings fatal.
<SNIP>

Thanks for the suggestion! I almost simultaneously figured that out; I used
GCC 3.2.3 to build GCC3.4.2, and through that finally GCC4.2, while
suffering some
errors on trying GCC4.1.

But thanks, again.

Best,
Muthiah


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]