comp.lang.ada
 help / color / mirror / Atom feed
From: joel@OARcorp.com (Joel Sherrill)
Subject: Re: Building GCC 3.2.1 with Ada on RedHat 6.2 ?
Date: 21 Jan 2003 10:16:06 -0800
Date: 2003-01-21T18:16:06+00:00	[thread overview]
Message-ID: <608f3869.0301211016.4eed65c0@posting.google.com> (raw)
In-Reply-To: d96fU5ajcm$V@eisner.encompasserve.org

clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote in message news:<d96fU5ajcm$V@eisner.encompasserve.org>...
> Has anybody successfully built GCC 3.2.1 with Ada on RedHat 6.2 ?
> 
> If so, what versions of binutils/glibc/etc did you use ?
> 
> My attempts at building fail when the stage1 compiler runs:
> 
> In file included from ../../gcc-3.2.1/gcc/tsystem.h:63,
>                  from ../../gcc-3.2.1/gcc/crtstuff.c:62:
> /usr/include/stdio.h:643: parse error before '(' token
> In file included from ../../gcc-3.2.1/gcc/tsystem.h:63,
>                  from ../../gcc-3.2.1/gcc/crtstuff.c:62:
> /usr/include/stdio.h:688:2: #endif without #if
> /usr/include/stdio.h:694:2: #endif without #if
> 
> All other compilation efforts on this system, including compiling
> pre gcc 3.x versions, works perfectly.

I would highly recommend grabbing the source RPMs that we
distribute and just building that way.  That way you get the
proper patch set and build instructions.

rpm -bb XXX.spec

One dependency is that you need a gcc 3.2.x native gnat to
build a gcc 3.2.x cross gnat.

> Thanks for any information,
> 
> Simon.
> 
> PS: BTW, how stable is the Ada support in 3.2.1 ? That's what I was trying
> to find out as well as trying to build the latest RTEMS versions...

It seems to be in pretty good shape but the last I checked has a few
regressions compared to the gcc 2.8.1 based gnat.

--joel sherrill



      reply	other threads:[~2003-01-21 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20 12:58 Building GCC 3.2.1 with Ada on RedHat 6.2 ? Simon Clubley
2003-01-21 18:16 ` Joel Sherrill [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox