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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d15d,2f5034985cbffcc4 X-Google-Attributes: gid10d15d,public X-Google-Thread: 103376,2f5034985cbffcc4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-01 16:14:43 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: christov@mac.com (Chris Douty) Newsgroups: comp.lang.ada,alt.solaris.x86 Subject: Re: Gnat 3.14 for Solaris x86 Date: 1 Dec 2003 16:14:43 -0800 Organization: http://groups.google.com Message-ID: <7e40f386.0312011614.6c8be840@posting.google.com> References: NNTP-Posting-Host: 136.185.7.9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070324083 11785 127.0.0.1 (2 Dec 2003 00:14:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 2 Dec 2003 00:14:43 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:3062 alt.solaris.x86:644 Date: 2003-12-01T16:14:43-08:00 List-Id: finbar.okeeffe@amsjv.com (Finbar) wrote in message news:... > Hi, > > I am new to Solaris x86 but have been developing on Sparc Solaris > solutions for a few years. I am now looking to port an application (c > and ada) from Sparc to Solaris x86. My first step is to try and match, > as closely as possible, the development environments on each of my > platforms. My Sparc environment is Gcc 2.8.1 and gnat 3.14. > > The latest binary distribution of gnat I can find is 3.13 which runs > with gcc 2.8.1. Unfortunately, the earliest binary distribution of gcc > I can find is 2.95. > > Can anyone advise me on how to achieve my gcc 2.8.1 and gnat 3.14 on > Solaris x86. I would rather avoid cross-compilation from my Sparc. Gnat 3.x is built on gcc 2.8.1. That is gnat is a patch to the basic gcc 2.8.1 source distribution that add Ada95 support. The gnat compiler can understand C and Ada95 code. If you need C++, God help you, because gcc 2.8.1 really sucked at C++. What you want to do is get the gcc 2.8.1 sources from a Gnu mirror near you and get the gnat 3.14p sources from NYU. Install your gnat 3.13 binary distribution somewhere temporary and use it to build the gnat 3.14 release. The gnat sources include fairly clear instructions on how to build the compiler and tools. I will note that gnat 3.15p is the latest public release still based on gcc 2.8.1. You may wish to consider upgrading both the sparc and x86 environments. Good luck, Chris