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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,96ccda1736c1a3b9 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: gperf (C2Ada) build problem... Date: 1998/06/17 Message-ID: #1/1 X-Deja-AN: 363588401 References: <35856D9A.2BDE6EB4@WriteMe.com> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1998-06-17T00:00:00+00:00 List-Id: Ronald Abdur-Raheem Ali writes: > If someone can assist with this unique problem ... > > I'm building the C2Ada translator from Inmet.com, > which requires that python and gperf be built first. > I'm running on a Sun - Sparc Enterprise 2, with SunOS 5.0, and > gnat versions 3.05 and 3.10, which both reference gcc version 2.7.2. I tried this on Windows NT; I got gperf and python to build, but not the rest of C2Ada. It uses a non-Posix, non-gnu regexp package, which may be available on Solaris. There is a binary distribution of C2Ada for AIX on the OCSystems FTP site ftp://ocsystems.com/pub/ (I haven't tried it yet; my AIX system is currently down). While you are there, check out OCS man at http://ocsystems.com/ -- best Ada graphic I've seen yet! I got gperf to build with the Cygnus gcc distribution, although I had to delete the -p (profiling) (and I boosted -O to -O3). From your error messages, it appears that the Sun/Solaris stdio.h is not ANSI C compliant; see if you can use the glib version instead (this seems to be what GNAT 3.10 did). Or you can hack getopt.c to match the Solaris headers; shouldn't be too hard. I've no clue why GNAT is looking for mcrt1.o; try the gnat chat mailing list (see instructions at http://www.gnat.com/). > > RonAli@WriteMe.com -- Stephe