comp.lang.ada
 help / color / mirror / Atom feed
* Trying to get an Ada compiler on a MacBook Pro
@ 2007-04-24 16:04 brian.b.mcguinness
  2007-04-25 23:44 ` Jerry
  2007-04-25 23:45 ` Jerry
  0 siblings, 2 replies; 4+ messages in thread
From: brian.b.mcguinness @ 2007-04-24 16:04 UTC (permalink / raw)


Sorry to post this here, but when I try to post to
GNAT-OSX@hermes.gwu.edu I get a LISTSERV error
telling me that I am not allowed to post from my account.

There doesn't seem to be much introductory information
available for people who are new to installing Ada compilers
on Apple computers.  For example, I know from searching
around a bit that the Mac uses Mach-O format files, and that
the GCC compilers usually generate ELF files, but it is not
clear whether I need to use a command line switch to specify
Mach-O format whenever I compile on the Mac, or whether the
GCC autoconfiguration process sets that up automatically.

I installed a previous GCC 4.2 release from the macada site on
my MacBook Pro, and although the controls came up in Xcode
ok (except that Xcode can't seem to find some of the Ada
library files), when I attempted to use gnatmake from the
command line it couldn't find the compiler, though I could run
gcc by hand to compile a simple Ada test program to a .o file.
Now I have to figure out which linker to use, the original Apple
linker or one from the new GCC package.

Now I have downloaded the GCC 4.3 Intel version from this new
site and plan to try installing that to see if it will work any
better.
But I am not sure whether the 4.2 patch should be applied to
that, or whether the fix is already incorporated into the
4.3 build.

I want a GCC compiler set with the core C/C++ compilers, Ada,
and Fortran (needed for some scientific libraries), that will
compile and link programs on my Intel-based MacBook Pro.  I
don't care too much whether it supports Xcode or not, I can
just as well compile from the command line.  I just want to
be able to compile and run programs.

Also, I got a "not found" error today trying to reach
http://www.macada.org/macada/macada/Welcome.html.  Is the
site listed below a replacement for that?  What is the
preferred site to download the compilers from?

Thanks.

--- Brian


-----Original Message-----
From: GNAT for Mac OS X User List [mailto:GNAT-OSX@HERMES.GWU.EDU] On
Behalf Of Stephen Bespalko
Sent: Tuesday, April 24, 2007 11:20 AM
To: GNAT-OSX@HERMES.GWU.EDU
Subject: Re: [GNAT-OSX] New Compilers

I strongly recommend paying attention to the warnings in the release
notes. If you have a spare machine that doesn't have any critical
data, or that you wouldn't depend on for critical activities, then go
for it, otherwise there is no way I'd put it on my day-to-day machine.

On Apr 24, 2007, at 9:08 AM, Nicolas Setton wrote:

>> I have posted new compilers to my web site.
>>
>> http://homepage.mac.com/awreynolds
>>
>> Ada folder.
>>
>> For those looking for the PowerPC compiler with most of the
>> languages, that has been posted.
>>
>> For those looking for compilers for Leopard, they have been posted as
>> well.
>
> Great job, congratulations!
>
> How stable is Leopard? (Hidden question: should I install it on my
> machine?)
>
> Nico




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

end of thread, other threads:[~2007-05-08  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-24 16:04 Trying to get an Ada compiler on a MacBook Pro brian.b.mcguinness
2007-04-25 23:44 ` Jerry
2007-04-25 23:45 ` Jerry
2007-05-08  1:26   ` heymikey1215

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