comp.lang.ada
 help / color / mirror / Atom feed
* gnat for MacOS Tiger?
@ 2006-08-13 19:39 David Shochat
  2006-08-13 19:56 ` Burkhard
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: David Shochat @ 2006-08-13 19:39 UTC (permalink / raw)


I just discovered that the gcc that comes with Tiger does not have Ada 
support (unlike the one that comes with SUSE Linux). So I tried to do 
some web searching, but only found something that claimed to be an 
installer for gnat and turned out to be a trial version of MS Office 
2004 for Mac (!).

So what does one need to do these days to get an Ada-capable gcc on OS X 
10.4? Office certainly has its merits (although I prefer to stick with 
Ooo), but it just doesn't do a very good job of compiling Ada.



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

* Re: gnat for MacOS Tiger?
  2006-08-13 19:39 gnat for MacOS Tiger? David Shochat
@ 2006-08-13 19:56 ` Burkhard
  2006-08-13 20:06 ` randomm
  2006-08-14  8:39 ` Javier Miranda
  2 siblings, 0 replies; 18+ messages in thread
From: Burkhard @ 2006-08-13 19:56 UTC (permalink / raw)


David Shochat wrote:
> I just discovered that the gcc that comes with Tiger does not have Ada 
> support (unlike the one that comes with SUSE Linux). So I tried to do 
> some web searching, but only found something that claimed to be an 
> installer for gnat and turned out to be a trial version of MS Office 
> 2004 for Mac (!).
> 
> So what does one need to do these days to get an Ada-capable gcc on OS X 
> 10.4? Office certainly has its merits (although I prefer to stick with 
> Ooo), but it just doesn't do a very good job of compiling Ada.

take a look at www.macada.org



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

* Re: gnat for MacOS Tiger?
  2006-08-13 19:39 gnat for MacOS Tiger? David Shochat
  2006-08-13 19:56 ` Burkhard
@ 2006-08-13 20:06 ` randomm
  2006-08-13 21:37   ` David Shochat
  2006-08-14  8:39 ` Javier Miranda
  2 siblings, 1 reply; 18+ messages in thread
From: randomm @ 2006-08-13 20:06 UTC (permalink / raw)


I found a link here that may be of some interest:

http://gnuada.sourceforge.net/pmwiki.php/Install/MacOS

Cheers,
Rand

David Shochat wrote:
> I just discovered that the gcc that comes with Tiger does not have Ada
> support (unlike the one that comes with SUSE Linux). So I tried to do
> some web searching, but only found something that claimed to be an
> installer for gnat and turned out to be a trial version of MS Office
> 2004 for Mac (!).
>
> So what does one need to do these days to get an Ada-capable gcc on OS X
> 10.4? Office certainly has its merits (although I prefer to stick with
> Ooo), but it just doesn't do a very good job of compiling Ada.




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

* Re: gnat for MacOS Tiger?
  2006-08-13 20:06 ` randomm
@ 2006-08-13 21:37   ` David Shochat
       [not found]     ` <1155506339.779024.18850@i3g2000cwc.googlegroups.com>
  0 siblings, 1 reply; 18+ messages in thread
From: David Shochat @ 2006-08-13 21:37 UTC (permalink / raw)


randomm@mindless.com wrote:
> I found a link here that may be of some interest:
> 
> http://gnuada.sourceforge.net/pmwiki.php/Install/MacOS
> 
Thanks. That page suggested going to macada.com. I was unable to connect 
to that, but there is a macada.org which has a mailing list (that I just 
subscribed to). Trouble is, that is the very same site that had the link 
which claimed to be a version of gnat for Tiger but was actually the 
trial copy of MS Office!
-- David



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

* Re: gnat for MacOS Tiger?
       [not found]     ` <1155506339.779024.18850@i3g2000cwc.googlegroups.com>
@ 2006-08-14  2:20       ` Simon Williams
  2006-08-15 10:15         ` David Shochat
  0 siblings, 1 reply; 18+ messages in thread
From: Simon Williams @ 2006-08-14  2:20 UTC (permalink / raw)


For what its worth the link is fine (i just downloaded it and checked
it).  I think what happened is he double clicked on the downloaded app
and didnt have stuffit decompressor on his system so it guessed (wrong)
and brought up office. 

I have sent him from our mailing list what he needs.  Mac ada is alive
and well and we have gcc 4.2 from the fsf archives for tiger that works
quite well as well as a plugin for apples IDE (Xcode).  

On intel macs Paralleles makes a really nice virtual machine capability
and i run mac, windows xp, and linux (ubunto and fedora) all on the
same machine.  with enough memory they will all run at once.    

i did some gtkada code and built it and had same app running under mac
and windows at the same time. worked very nicely to test it out.  

jim


In article <1155506339.779024.18850@i3g2000cwc.googlegroups.com>,
<randomm@mindless.com> wrote:

> X-No-Archive: Yes
> 
> Sorry about that, David.  I hadn't checked the link because that page
> is fairly current.
> 
> If you're able, perhaps it would be easier to install Linux and do your
> Ada work there, as there are more options available and the user
> community is quite nice.
> 
> If not, carry on searching and you'll probably find something suitable
> and in fact in the end you'll be a pioneer of Ada on the Maccies ;)
> 
> Cheers,
> Rand
>



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

* Re: gnat for MacOS Tiger?
  2006-08-13 19:39 gnat for MacOS Tiger? David Shochat
  2006-08-13 19:56 ` Burkhard
  2006-08-13 20:06 ` randomm
@ 2006-08-14  8:39 ` Javier Miranda
  2006-08-15  1:57   ` Simon Williams
  2006-08-27 22:34   ` David Shochat
  2 siblings, 2 replies; 18+ messages in thread
From: Javier Miranda @ 2006-08-14  8:39 UTC (permalink / raw)
  To: David Shochat; +Cc: comp.lang.ada


On Aug 13, 2006, at 3:39 PM, David Shochat wrote:

> So what does one need to do these days to get an Ada-capable gcc on  
> OS X
> 10.4?

Go to the Libre site of Adacore (https://libre2.adacore.com/), select
and download the ppc-darwin platform. Remember that if you want to
execute GPS you also need to install the X11 server, available at

    http://www.apple.com/downloads/macosx/apple/x11formacosx.html

... and launch GPS from an X11 console.

Enjoy!

--- Javier Miranda




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

* Re: gnat for MacOS Tiger?
  2006-08-14  8:39 ` Javier Miranda
@ 2006-08-15  1:57   ` Simon Williams
  2006-08-17  3:25     ` Jim Hopper
  2006-08-21 20:06     ` Simon Wright
  2006-08-27 22:34   ` David Shochat
  1 sibling, 2 replies; 18+ messages in thread
From: Simon Williams @ 2006-08-15  1:57 UTC (permalink / raw)



But keep in mind that if you get the version from adacore you can only
use it for producing Open source applications.  the 4.2 compiler at
macada.org is built from the FSF sources so it retains the GMPL
exception.

besides ours works with apples IDE xcode. ;-)

i have just put out beta installers.  join the mailing list if you want
to get them.  they will be on the website in a week or so after we are
sure they are ok.

jim


In article <mailman.20.1155544777.32700.comp.lang.ada@ada-france.org>,
Javier Miranda <jmiranda@iuma.ulpgc.es> wrote:

> On Aug 13, 2006, at 3:39 PM, David Shochat wrote:
> 
> > So what does one need to do these days to get an Ada-capable gcc on  
> > OS X
> > 10.4?
> 
> Go to the Libre site of Adacore (https://libre2.adacore.com/), select
> and download the ppc-darwin platform. Remember that if you want to
> execute GPS you also need to install the X11 server, available at
> 
>     http://www.apple.com/downloads/macosx/apple/x11formacosx.html
> 
> ... and launch GPS from an X11 console.
> 
> Enjoy!
> 
> --- Javier Miranda
>



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

* Re: gnat for MacOS Tiger?
  2006-08-14  2:20       ` Simon Williams
@ 2006-08-15 10:15         ` David Shochat
  2006-08-15 15:05           ` gnat for MacOS Tiger? [OT] (see below)
  2006-08-17  3:23           ` gnat for MacOS Tiger? Simon Williams
  0 siblings, 2 replies; 18+ messages in thread
From: David Shochat @ 2006-08-15 10:15 UTC (permalink / raw)


Simon Williams wrote:
> For what its worth the link is fine (i just downloaded it and checked
> it).  I think what happened is he double clicked on the downloaded app
> and didnt have stuffit decompressor on his system so it guessed (wrong)
> and brought up office. 
> 
I think this is probably true. <OT rant> I now have the Stuffit 
Expander, but I think it's ridiculous for it to just guess like that. It 
should have simply stated that I needed to get Stuffit Expander and 
ended it right there (giving me the option of trying to open it using 
the application of my choice). And even if it were an Office document, 
it's yet another absurd leap to simply assume that I want to download a 
trial copy of MS Office. What if I want to use NeoOffice instead (which 
I would)? </OT>

> I have sent him from our mailing list what he needs.  Mac ada is alive
> and well and we have gcc 4.2 from the fsf archives for tiger that works
> quite well as well as a plugin for apples IDE (Xcode).  
> 
Yes, I have downloaded it and run it in command line mode. I will try 
via Xcode soon. The folks on the GNAT-OSX mailing list are very helpful!
-- David




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

* Re: gnat for MacOS Tiger? [OT]
  2006-08-15 10:15         ` David Shochat
@ 2006-08-15 15:05           ` (see below)
  2006-08-16  1:28             ` David Shochat
  2006-08-17  3:23           ` gnat for MacOS Tiger? Simon Williams
  1 sibling, 1 reply; 18+ messages in thread
From: (see below) @ 2006-08-15 15:05 UTC (permalink / raw)


On 15/8/06 11:15, in article YtGdnYdISJojA3zZnZ2dnUVZ_o2dnZ2d@comcast.com,
"David Shochat" <shochatd@yahoo.com> wrote:

> Simon Williams wrote:
>> For what its worth the link is fine (i just downloaded it and checked
>> it).  I think what happened is he double clicked on the downloaded app
>> and didnt have stuffit decompressor on his system so it guessed (wrong)
>> and brought up office.
>> 
> I think this is probably true. <OT rant> I now have the Stuffit
> Expander, but I think it's ridiculous for it to just guess like that. It
> should have simply stated that I needed to get Stuffit Expander and
> ended it right there
> And even if it were an Office document,
> it's yet another absurd leap to simply assume that I want to download a
> trial copy of MS Office. What if I want to use NeoOffice instead (which
> I would)? </OT>

As far as I know, 
OS X does *not* download Stuffit, MS, or any other software; unasked.

If your Mac is like mine,
it already had a trial copy of MS Office on its HD at time of purchase.
If that had claimed the file type for itself,
it would have been invoked (quite correctly) by OS X.

Perhaps Office then tried to download an update of itself,
or something of that kind.

-- 
Bill Findlay
<surname><forename> chez blueyonder.co.uk




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

* Re: gnat for MacOS Tiger? [OT]
  2006-08-15 15:05           ` gnat for MacOS Tiger? [OT] (see below)
@ 2006-08-16  1:28             ` David Shochat
  0 siblings, 0 replies; 18+ messages in thread
From: David Shochat @ 2006-08-16  1:28 UTC (permalink / raw)


On Tue, 15 Aug 2006 16:05:33 +0100, (see below) wrote:
> 
> If your Mac is like mine,
> it already had a trial copy of MS Office on its HD at time of purchase.
> If that had claimed the file type for itself,
> it would have been invoked (quite correctly) by OS X.
> 
Yes, you are right. It is gone from my machine, but I checked my wife's
iMac and sure enough, there is an "Office 2004 for Mac Test Drive" folder
there under Applications.

I had totally misunderstood what was going on.
Thanks for clearing that up.
-- David



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

* Re: gnat for MacOS Tiger?
  2006-08-15 10:15         ` David Shochat
  2006-08-15 15:05           ` gnat for MacOS Tiger? [OT] (see below)
@ 2006-08-17  3:23           ` Simon Williams
  1 sibling, 0 replies; 18+ messages in thread
From: Simon Williams @ 2006-08-17  3:23 UTC (permalink / raw)


In article <YtGdnYdISJojA3zZnZ2dnUVZ_o2dnZ2d@comcast.com>, David
Shochat <shochatd@yahoo.com> wrote:

>> I think this is probably true. <OT rant> I now have the Stuffit 
> Expander, but I think it's ridiculous for it to just guess like that. 
Our stuffit package did not do the guessing mac osx did.  i don't know
why.  it did not download office, the trial package comes preloaded on
newer macs i believe.  we download NOTHING in our installers.

Jim



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

* Re: gnat for MacOS Tiger?
  2006-08-15  1:57   ` Simon Williams
@ 2006-08-17  3:25     ` Jim Hopper
  2006-08-21 20:06     ` Simon Wright
  1 sibling, 0 replies; 18+ messages in thread
From: Jim Hopper @ 2006-08-17  3:25 UTC (permalink / raw)


By the way for some reason my news reader was posting my name as simon
williams.  i think i have it fixed now.  Sorry about that.

Jim Hopper



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

* Re: gnat for MacOS Tiger?
  2006-08-15  1:57   ` Simon Williams
  2006-08-17  3:25     ` Jim Hopper
@ 2006-08-21 20:06     ` Simon Wright
  1 sibling, 0 replies; 18+ messages in thread
From: Simon Wright @ 2006-08-21 20:06 UTC (permalink / raw)


Simon Williams <williams@ntlworld.com> writes:

> But keep in mind that if you get the version from adacore you can only
> use it for producing Open source applications.  the 4.2 compiler at
> macada.org is built from the FSF sources so it retains the GMPL
> exception.
>
> besides ours works with apples IDE xcode. ;-)

You do get GPS from AdaCore instead (plus other goodies like full
ASIS). But as Jim says it is GPL-only.



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

* Re: gnat for MacOS Tiger?
  2006-08-14  8:39 ` Javier Miranda
  2006-08-15  1:57   ` Simon Williams
@ 2006-08-27 22:34   ` David Shochat
  2006-08-28 15:31     ` Martin Krischik
                       ` (3 more replies)
  1 sibling, 4 replies; 18+ messages in thread
From: David Shochat @ 2006-08-27 22:34 UTC (permalink / raw)
  To: jmiranda

On Mon, 14 Aug 2006 04:39:21 -0400, Javier Miranda wrote:

> On Aug 13, 2006, at 3:39 PM, David Shochat wrote:
> 
>> So what does one need to do these days to get an Ada-capable gcc on  
>> OS X
>> 10.4?
> 
> Go to the Libre site of Adacore (https://libre2.adacore.com/), select
> and download the ppc-darwin platform. Remember that if you want to
> execute GPS you also need to install the X11 server, available at
> 

Well, a PPC Darwin version won't work for me (I have Intel). But the main
problem is that site. Hasn't worked all day, and doesn't even respond to
ping. I found the regular adacore.com, but no mention of this site there.



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

* Re: gnat for MacOS Tiger?
  2006-08-27 22:34   ` David Shochat
@ 2006-08-28 15:31     ` Martin Krischik
  2006-08-28 18:42     ` Björn Persson
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Martin Krischik @ 2006-08-28 15:31 UTC (permalink / raw)


David Shochat wrote:

> On Mon, 14 Aug 2006 04:39:21 -0400, Javier Miranda wrote:
> 
>> On Aug 13, 2006, at 3:39 PM, David Shochat wrote:
>> 
>>> So what does one need to do these days to get an Ada-capable gcc on
>>> OS X
>>> 10.4?
>> 
>> Go to the Libre site of Adacore (https://libre2.adacore.com/), select
>> and download the ppc-darwin platform. Remember that if you want to
>> execute GPS you also need to install the X11 server, available at

> Well, a PPC Darwin version won't work for me (I have Intel). But the main
> problem is that site. Hasn't worked all day, and doesn't even respond to
> ping. I found the regular adacore.com, but no mention of this site there.

You will need to compile your own toolchain. Not an easy task as you will
need to start with a cross compiler. I currently work on an MinGW cross
compiler and it isn't easy at all.

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



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

* Re: gnat for MacOS Tiger?
  2006-08-27 22:34   ` David Shochat
  2006-08-28 15:31     ` Martin Krischik
@ 2006-08-28 18:42     ` Björn Persson
  2006-08-29  1:28     ` Jim Hopper
  2006-09-01 18:08     ` David Brown
  3 siblings, 0 replies; 18+ messages in thread
From: Björn Persson @ 2006-08-28 18:42 UTC (permalink / raw)


David Shochat wrote:
> On Mon, 14 Aug 2006 04:39:21 -0400, Javier Miranda wrote:
>> Go to the Libre site of Adacore (https://libre2.adacore.com/),
> 
> Well, a PPC Darwin version won't work for me (I have Intel). But the main
> problem is that site. Hasn't worked all day, and doesn't even respond to
> ping.

They seem to have a defective firewall that violates the TCP standard by 
messing up the window scale factor. If you still want to reach Libre, 
see if you can turn TCP window scaling off. (I have no idea how to do it 
in MacOS X.) That may work around the problem, but it limits your 
ability to utilize a high bandwidth.

It's most likely that wirefall – sorry, firewall – that's blocking ping 
too. That's just the kind of pointless thing that broken firewalls like 
doing.

-- 
Björn Persson                              PGP key A88682FD
                    omb jor ers @sv ge.
                    r o.b n.p son eri nu



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

* Re: gnat for MacOS Tiger?
  2006-08-27 22:34   ` David Shochat
  2006-08-28 15:31     ` Martin Krischik
  2006-08-28 18:42     ` Björn Persson
@ 2006-08-29  1:28     ` Jim Hopper
  2006-09-01 18:08     ` David Brown
  3 siblings, 0 replies; 18+ messages in thread
From: Jim Hopper @ 2006-08-29  1:28 UTC (permalink / raw)



i have a first cut at installers for gcc 4.2 and the ada plugin for
xcode at links below (both compiler and xcode is in one installer).

http://macada.org/Downloads/Compiler/Gnat_PPC-4.2.dmg

http://macada.org/Downloads/Compiler/Gnati386-4.2.dmg


In article <OZSdndoh4uhvgG_ZnZ2dnUVZ_rudnZ2d@comcast.com>, David
Shochat <shochatd@yahoo.com> wrote:

> Well, a PPC Darwin version won't work for me (I have Intel). But the main
> problem is that site. Hasn't worked all day, and doesn't even respond to
> ping. I found the regular adacore.com, but no mention of this site there.



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

* Re: gnat for MacOS Tiger?
  2006-08-27 22:34   ` David Shochat
                       ` (2 preceding siblings ...)
  2006-08-29  1:28     ` Jim Hopper
@ 2006-09-01 18:08     ` David Brown
  3 siblings, 0 replies; 18+ messages in thread
From: David Brown @ 2006-09-01 18:08 UTC (permalink / raw)


David Shochat wrote:

> Well, a PPC Darwin version won't work for me (I have Intel). But the main
> problem is that site. Hasn't worked all day, and doesn't even respond to
> ping. I found the regular adacore.com, but no mention of this site there.

This is a bug in some router on the way to the host.  It has to do with 
TCP window scaling.  I'm not sure how to adjust this on OSX, but from 
linux, as root

   echo 0 > /proc/sys/ipv4/tcp_window_scaling

will allow access to the host.

Dave Brown



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

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

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-13 19:39 gnat for MacOS Tiger? David Shochat
2006-08-13 19:56 ` Burkhard
2006-08-13 20:06 ` randomm
2006-08-13 21:37   ` David Shochat
     [not found]     ` <1155506339.779024.18850@i3g2000cwc.googlegroups.com>
2006-08-14  2:20       ` Simon Williams
2006-08-15 10:15         ` David Shochat
2006-08-15 15:05           ` gnat for MacOS Tiger? [OT] (see below)
2006-08-16  1:28             ` David Shochat
2006-08-17  3:23           ` gnat for MacOS Tiger? Simon Williams
2006-08-14  8:39 ` Javier Miranda
2006-08-15  1:57   ` Simon Williams
2006-08-17  3:25     ` Jim Hopper
2006-08-21 20:06     ` Simon Wright
2006-08-27 22:34   ` David Shochat
2006-08-28 15:31     ` Martin Krischik
2006-08-28 18:42     ` Björn Persson
2006-08-29  1:28     ` Jim Hopper
2006-09-01 18:08     ` David Brown

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