comp.lang.ada
 help / color / mirror / Atom feed
* Gnat 3.14 for Solaris x86
@ 2003-12-01  8:38 Finbar
  2003-12-01 20:39 ` Pascal Obry
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Finbar @ 2003-12-01  8:38 UTC (permalink / raw)


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.

Thanks in advance

Finbar



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

* Re: Gnat 3.14 for Solaris x86
  2003-12-01  8:38 Gnat 3.14 for Solaris x86 Finbar
@ 2003-12-01 20:39 ` Pascal Obry
  2003-12-02  0:14 ` Chris Douty
  2003-12-02  2:50 ` Steve
  2 siblings, 0 replies; 6+ messages in thread
From: Pascal Obry @ 2003-12-01 20:39 UTC (permalink / raw)



finbar.okeeffe@amsjv.com (Finbar) writes:

> 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't you build GCC 2.8.1 on Solaris x86 ? This should not be too hard if you
follow the procedure. From there use GNAT 3.13p for Solaris x86 to build GNAT
3.14p.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



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

* Re: Gnat 3.14 for Solaris x86
  2003-12-01  8:38 Gnat 3.14 for Solaris x86 Finbar
  2003-12-01 20:39 ` Pascal Obry
@ 2003-12-02  0:14 ` Chris Douty
  2003-12-02  2:50 ` Steve
  2 siblings, 0 replies; 6+ messages in thread
From: Chris Douty @ 2003-12-02  0:14 UTC (permalink / raw)


finbar.okeeffe@amsjv.com (Finbar) wrote in message news:<c658d149.0312010038.48fce139@posting.google.com>...
> 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



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

* Re: Gnat 3.14 for Solaris x86
  2003-12-01  8:38 Gnat 3.14 for Solaris x86 Finbar
  2003-12-01 20:39 ` Pascal Obry
  2003-12-02  0:14 ` Chris Douty
@ 2003-12-02  2:50 ` Steve
  2003-12-03  8:17   ` Finbar
  2 siblings, 1 reply; 6+ messages in thread
From: Steve @ 2003-12-02  2:50 UTC (permalink / raw)


If your application is really just C and Ada, you should have little
difficulty using the gcc included in the GNAT distribution to compile both
your Ada and C programs.

If you're using C++, that's another story.

Steve
(The Duck)

"Finbar" <finbar.okeeffe@amsjv.com> wrote in message
news:c658d149.0312010038.48fce139@posting.google.com...
> 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.
>
> Thanks in advance
>
> Finbar





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

* Re: Gnat 3.14 for Solaris x86
  2003-12-02  2:50 ` Steve
@ 2003-12-03  8:17   ` Finbar
  2004-01-07 18:09     ` Andreas Almroth
  0 siblings, 1 reply; 6+ messages in thread
From: Finbar @ 2003-12-03  8:17 UTC (permalink / raw)


Thanks very much for all your help guys,

I seem to be making progress again based on all your suggestions

I am currently building gnat 3.14 against 3.13 and a patched gcc 2.8.1,
I think (hope) that I am on the home straight!

Thanks again

Finbar



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

* Re: Gnat 3.14 for Solaris x86
  2003-12-03  8:17   ` Finbar
@ 2004-01-07 18:09     ` Andreas Almroth
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Almroth @ 2004-01-07 18:09 UTC (permalink / raw)


Finbar wrote:

> Thanks very much for all your help guys,
> 
> I seem to be making progress again based on all your suggestions
> 
> I am currently building gnat 3.14 against 3.13 and a patched gcc 2.8.1,
> I think (hope) that I am on the home straight!
> 
> Thanks again
> 
> Finbar

If you don't succeed I have an old copy of 3.13p for x86 lying on my dev 
server. Compiled long long ago, but it seemed to work OK for me.
 From there you can then try 3.14p and 3.15p. I never really succeeded 
beyond 3.13p for x86 though. Worked fine on SPARC.
If you are willing to use gcc 3.3.2, there is currently a binary 
distribution available at http://www.blastwave.org.
I'm using 3.3.2 on a daily basis, but waiting eagerly on 3.4...

/Andreas




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

end of thread, other threads:[~2004-01-07 18:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01  8:38 Gnat 3.14 for Solaris x86 Finbar
2003-12-01 20:39 ` Pascal Obry
2003-12-02  0:14 ` Chris Douty
2003-12-02  2:50 ` Steve
2003-12-03  8:17   ` Finbar
2004-01-07 18:09     ` Andreas Almroth

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