comp.lang.ada
 help / color / mirror / Atom feed
* Building GCC 3.2.1 with Ada on RedHat 6.2 ?
@ 2003-01-20 12:58 Simon Clubley
  2003-01-21 18:16 ` Joel Sherrill
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Clubley @ 2003-01-20 12:58 UTC (permalink / raw)


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.

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...

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP       
"This is VMS. Viruses are irrelevant."



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building GCC 3.2.1 with Ada on RedHat 6.2 ?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Sherrill @ 2003-01-21 18:16 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-21 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox