From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b1047c8c00a32f70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-21 10:16:06 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: joel@OARcorp.com (Joel Sherrill) Newsgroups: comp.lang.ada Subject: Re: Building GCC 3.2.1 with Ada on RedHat 6.2 ? Date: 21 Jan 2003 10:16:06 -0800 Organization: http://groups.google.com/ Message-ID: <608f3869.0301211016.4eed65c0@posting.google.com> References: NNTP-Posting-Host: 136.205.16.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1043172966 22921 127.0.0.1 (21 Jan 2003 18:16:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Jan 2003 18:16:06 GMT Xref: archiver1.google.com comp.lang.ada:33304 Date: 2003-01-21T18:16:06+00:00 List-Id: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote in message news:... > 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