comp.lang.ada
 help / color / mirror / Atom feed
* What is the best source of GNAT for Win32?
@ 2004-12-24  4:39 Steve
  2004-12-24  9:10 ` Pascal Obry
  2004-12-24  9:48 ` Martin Krischik
  0 siblings, 2 replies; 12+ messages in thread
From: Steve @ 2004-12-24  4:39 UTC (permalink / raw)


I have been using the distributions:

  gnat-3.15p-nt.exe
  gnatwin-3.15p-nt.exe

Which I downloaded from cs.nyu.edu when they were new.

I see that gcc-ada-3.4.2-20040916-1.tar.gz is available from mingw.org.

Questions:
  Should I consider using this new version?
  Is this the only thing I need to install, or do I need 
gcc-core-3.4.2-20040915-1.tar.gz as well?
  What do I use in place of the gnatwin package?
  The original distributions had nice installers that set everything up for 
me, how do I go about setting up the new environment?

The thing that raised the question for me is the new release of GPS (which 
is the first version I have successfully been able to use).  The project 
wizard likes to insert directives that gnat 3.15p doesn't know how to 
handle.  I can just delete them from the project file, but it would be nice 
to not have to.

Steve
(The Duck)





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

* Re: What is the best source of GNAT for Win32?
  2004-12-24  4:39 Steve
@ 2004-12-24  9:10 ` Pascal Obry
  2004-12-24  9:48 ` Martin Krischik
  1 sibling, 0 replies; 12+ messages in thread
From: Pascal Obry @ 2004-12-24  9:10 UTC (permalink / raw)



"Steve" <nospam_steved94@comcast.net> writes:

> I see that gcc-ada-3.4.2-20040916-1.tar.gz is available from mingw.org.
> 
> Questions:
>   Should I consider using this new version?

Yes.

>   Is this the only thing I need to install, or do I need 
> gcc-core-3.4.2-20040915-1.tar.gz as well?

Yes, and the binutils, win32api and mingw-runtime too.

>   What do I use in place of the gnatwin package?

See above.

>   The original distributions had nice installers that set everything up for 
> me, how do I go about setting up the new environment?

Set the PATH to the bin directory.

Pascal.

-- 

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



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

* Re: What is the best source of GNAT for Win32?
  2004-12-24  4:39 Steve
  2004-12-24  9:10 ` Pascal Obry
@ 2004-12-24  9:48 ` Martin Krischik
  2004-12-24 14:02   ` Steve
  1 sibling, 1 reply; 12+ messages in thread
From: Martin Krischik @ 2004-12-24  9:48 UTC (permalink / raw)


Steve wrote:

> I have been using the distributions:
> 
>   gnat-3.15p-nt.exe
>   gnatwin-3.15p-nt.exe
> 
> Which I downloaded from cs.nyu.edu when they were new.
> 
> I see that gcc-ada-3.4.2-20040916-1.tar.gz is available from mingw.org.
> 
> Questions:
>   Should I consider using this new version?

Depends: It is quite a good alternative for those who know how tar works and
are not affrait of complex installs.

>   Is this the only thing I need to install, or do I need
> gcc-core-3.4.2-20040915-1.tar.gz as well?

You need a lot more:

http://en.wikibooks.org/wiki/Programming:Ada:Installing#MinGW

>   What do I use in place of the gnatwin package?
>   The original distributions had nice installers that set everything up
>   for
> me, how do I go about setting up the new environment?

You have to download a lot of files and install them all seperadly

> The thing that raised the question for me is the new release of GPS (which
> is the first version I have successfully been able to use).  The project
> wizard likes to insert directives that gnat 3.15p doesn't know how to
> handle.  I can just delete them from the project file, but it would be
> nice to not have to.

Yes, you can just delete them.

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



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

* Re: What is the best source of GNAT for Win32?
  2004-12-24  9:48 ` Martin Krischik
@ 2004-12-24 14:02   ` Steve
  2004-12-25  9:32     ` Martin Krischik
  0 siblings, 1 reply; 12+ messages in thread
From: Steve @ 2004-12-24 14:02 UTC (permalink / raw)



"Martin Krischik" <martin@krischik.com> wrote in message 
news:1207241.Jl0oUfnWbg@linux1.krischik.com...
> Steve wrote:
>
>> I have been using the distributions:
>>
>>   gnat-3.15p-nt.exe
>>   gnatwin-3.15p-nt.exe
>>
>> Which I downloaded from cs.nyu.edu when they were new.
>>
>> I see that gcc-ada-3.4.2-20040916-1.tar.gz is available from mingw.org.
>>
>> Questions:
>>   Should I consider using this new version?
>
> Depends: It is quite a good alternative for those who know how tar works 
> and
> are not affrait of complex installs.
>
>>   Is this the only thing I need to install, or do I need
>> gcc-core-3.4.2-20040915-1.tar.gz as well?
>
> You need a lot more:
>
> http://en.wikibooks.org/wiki/Programming:Ada:Installing#MinGW
>
I would be VERY suprised if I really need:
    gcc-g++-3.4.2-20040916-1.tar.gz
    gcc-g77-3.4.2-20040916-1.tar.tz
    gcc-java-3.4.2-20040916-1.tar.tz
    gcc-objc-3.4.2-20040916-1.tar.tz
    msys-1.0.10.exe
    msysDTK-1.0.1.exe
    msys-automake-1.8.2.tar.bz2
    msys-autoconf-2.59.tar.bz2
    msys-libtool-1.5.tar.bz2

I think you only need msys if you want to build gcc from sources (which I 
don't).
   g++ is C++
   g77 is FORTRAN
   java is (of course) Java
   objc is Objective C

Steve
(The Duck)
>
> Martin
> -- 
> mailto://krischik@users.sourceforge.net
> http://www.ada.krischik.com 





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

* Re: What is the best source of GNAT for Win32?
  2004-12-24 14:02   ` Steve
@ 2004-12-25  9:32     ` Martin Krischik
  0 siblings, 0 replies; 12+ messages in thread
From: Martin Krischik @ 2004-12-25  9:32 UTC (permalink / raw)


Steve wrote:

> 
> "Martin Krischik" <martin@krischik.com> wrote in message
> news:1207241.Jl0oUfnWbg@linux1.krischik.com...
>> Steve wrote:
>>
>>> I have been using the distributions:
>>>
>>>   gnat-3.15p-nt.exe
>>>   gnatwin-3.15p-nt.exe
>>>
>>> Which I downloaded from cs.nyu.edu when they were new.
>>>
>>> I see that gcc-ada-3.4.2-20040916-1.tar.gz is available from mingw.org.
>>>
>>> Questions:
>>>   Should I consider using this new version?
>>
>> Depends: It is quite a good alternative for those who know how tar works
>> and
>> are not affrait of complex installs.
>>
>>>   Is this the only thing I need to install, or do I need
>>> gcc-core-3.4.2-20040915-1.tar.gz as well?
>>
>> You need a lot more:
>>
>> http://en.wikibooks.org/wiki/Programming:Ada:Installing#MinGW
>>
> I would be VERY suprised if I really need:
>     gcc-g++-3.4.2-20040916-1.tar.gz
>     gcc-g77-3.4.2-20040916-1.tar.tz
>     gcc-java-3.4.2-20040916-1.tar.tz
>     gcc-objc-3.4.2-20040916-1.tar.tz
>     msys-1.0.10.exe
>     msysDTK-1.0.1.exe
>     msys-automake-1.8.2.tar.bz2
>     msys-autoconf-2.59.tar.bz2
>     msys-libtool-1.5.tar.bz2
> 
> I think you only need msys if you want to build gcc from sources (which I
> don't).

Or PolyORB. Or an a Ada enabled gdb. Anything which need ./configure. The
problem with using MinGW is not the Ada compiler itself - you are right,
you can get away with a lot less if you only want Ada. The real problem is
the rest of the toolchain - especialy with windows. iE. I never got GPS to
compile with windows - Reason: there is no complete list of packages to
install to get GtkAda to work with Windows.

From that experience I think a maximalistic appraoch is more honest to the
user then a minimalistic.

But it's wiki - If you have a better advice to the user feel free to
contribute.

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



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

* Re: What is the best source of GNAT for Win32?
@ 2004-12-26 17:36 Robert C. Leif
  2004-12-26 18:20 ` Martin Krischik
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Robert C. Leif @ 2004-12-26 17:36 UTC (permalink / raw)
  To: comp.lang.ada

   Since GNAT has become the dominant Ada compiler and AdaCore does not
appear to be providing binary distributions, a new source for a binary
distribution including a simple install needs to be created.  One other
possibility would be to provide a binary distribution of A# that was
independent of GNAT. 
   This distribution of an Ada compiler should include a development
environment.  This could be a functioning version of the AdaCore's GPS or
integration with Microsoft's Visual Studio. Does the available public
version of GPS have a functioning pretty printer?  In order to serve as the
basis of an Ada environment, AdaGide needs a browse or point and click means
for inclusion of the paths to packages.
   It would be appropriate to charge a reasonable fee for providing a binary
distribution of a complete development environment that includes a complete
Ada compiler. A reasonable range for this fee would be 25 to 100 dollars.
   Presently, it appears that my initial fears concerning the capacity of
the Free Software Foundation to establish monopolies was well founded.  I
must also admit that a very significant portion of Ada Core's dominance is
based on their excellent technology.
   Bob Leif




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

* Re: What is the best source of GNAT for Win32?
  2004-12-26 17:36 What is the best source of GNAT for Win32? Robert C. Leif
@ 2004-12-26 18:20 ` Martin Krischik
  2004-12-26 21:48   ` Jeff C r e e.m
  2004-12-26 18:21 ` Jeff C r e e.m
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Martin Krischik @ 2004-12-26 18:20 UTC (permalink / raw)


Robert C. Leif wrote:

>    Since GNAT has become the dominant Ada compiler and AdaCore does not
> appear to be providing binary distributions, a new source for a binary
> distribution including a simple install needs to be created. 

Good idea. Compiling Windows versions arn't that easy.

> One other 
> possibility would be to provide a binary distribution of A# that was
> independent of GNAT.

>    This distribution of an Ada compiler should include a development
> environment.  This could be a functioning version of the AdaCore's GPS or
> integration with Microsoft's Visual Studio.

GPS is probably better.

> Does the available public 
> version of GPS have a functioning pretty printer? 

No, Pretty Printer is a part of the ASIS tools (GNAT ASIS contains not only
the ASIS lib itself but also some tools) and there is no cvs for ASIS yet.
So unless you know a supported customer who is willing to copy it, it's bad
look.

> In order to serve as 
> the basis of an Ada environment, AdaGide needs a browse or point and click
> means for inclusion of the paths to packages.

>    It would be appropriate to charge a reasonable fee for providing a
>    binary
> distribution of a complete development environment that includes a
> complete Ada compiler.

--enable-languages=c,ada

and

--enable-languages=c,ada,c++,f77,java,objc

is not that much difference. And GPS supports C and C++ as well. No reason
to restrict yourself to Ada only.

> A reasonable range for this fee would be 25 to 100 
> dollars.

For the complete tool chain, yes. I always thougt about that - especialy for
windows where the compile is very tricky.

If you inedeed plan that: why not thow in a Linux distribution as well. Much
easier to compile and extends the list of pontential customers
significantly.

I for one would be very interested at a symetric Windows/Linux GCC tool
chain.

With Regards

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



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

* Re: What is the best source of GNAT for Win32?
  2004-12-26 17:36 What is the best source of GNAT for Win32? Robert C. Leif
  2004-12-26 18:20 ` Martin Krischik
@ 2004-12-26 18:21 ` Jeff C r e e.m
  2004-12-27  0:30 ` tmoran
  2004-12-27  5:36 ` David Botton
  3 siblings, 0 replies; 12+ messages in thread
From: Jeff C r e e.m @ 2004-12-26 18:21 UTC (permalink / raw)



"Robert C. Leif" <rleif@rleif.com> wrote in message 
news:mailman.6.1104082650.527.comp.lang.ada@ada-france.org...
>   Since GNAT has become the dominant Ada compiler and AdaCore does not
> appear to be providing binary distributions, a new source for a binary
> distribution including a simple install needs to be created.  One other
> possibility would be to provide a binary distribution of A# that was
> independent of GNAT.
>   This distribution of an Ada compiler should include a development
> environment.  This could be a functioning version of the AdaCore's GPS or
> integration with Microsoft's Visual Studio. Does the available public
> version of GPS have a functioning pretty printer?  In order to serve as 
> the

Actually I think the pretty printer is part of the compiler distribution 
(prj-pp) but for some reason it
does not build/get built when the standard build routines are done.

Not sure if it would work if someone did get it built...

As for a development environment it would be really nice if someone make a 
libre version of an
Eclipse Integration.

Aonix seems to be doing work in that area but nothing seems to indicate that 
it is free software.

http://www.aonix.com/pr_07.26.04.html





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

* Re: What is the best source of GNAT for Win32?
  2004-12-26 18:20 ` Martin Krischik
@ 2004-12-26 21:48   ` Jeff C r e e.m
  2004-12-27  8:37     ` Martin Krischik
  0 siblings, 1 reply; 12+ messages in thread
From: Jeff C r e e.m @ 2004-12-26 21:48 UTC (permalink / raw)



"Martin Krischik" <martin@krischik.com> wrote in message 
news:2267527.9HDeXFcgkv@linux1.krischik.com...
>>> Does the available public
>> version of GPS have a functioning pretty printer?
>
> No, Pretty Printer is a part of the ASIS tools (GNAT ASIS contains not 
> only
> the ASIS lib itself but also some tools) and there is no cvs for ASIS yet.
> So unless you know a supported customer who is willing to copy it, it's 
> bad
> look.
>

Ah. That makes sense. I guess people can ignore my previous comment about 
the pretty print stuff I see in GCC cvs.
I did not take a good look at it. Must be an interface to the ASIS support.





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

* Re: What is the best source of GNAT for Win32?
  2004-12-26 17:36 What is the best source of GNAT for Win32? Robert C. Leif
  2004-12-26 18:20 ` Martin Krischik
  2004-12-26 18:21 ` Jeff C r e e.m
@ 2004-12-27  0:30 ` tmoran
  2004-12-27  5:36 ` David Botton
  3 siblings, 0 replies; 12+ messages in thread
From: tmoran @ 2004-12-27  0:30 UTC (permalink / raw)


>   It would be appropriate to charge a reasonable fee for providing a binary
>distribution  of a complete development environment that includes a complete
>Ada  compiler. A reasonable range for this fee would be 25 to 100 dollars.
   I'm looking at a 1996 CDROM from Labtek Corporation "Entry Level Ada95
SDK for Microsoft Windows 95 and Windows NT" containing version 3.04a of
Gnat.  IIRC, it cost me something in that price range.



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

* Re: What is the best source of GNAT for Win32?
  2004-12-26 17:36 What is the best source of GNAT for Win32? Robert C. Leif
                   ` (2 preceding siblings ...)
  2004-12-27  0:30 ` tmoran
@ 2004-12-27  5:36 ` David Botton
  3 siblings, 0 replies; 12+ messages in thread
From: David Botton @ 2004-12-27  5:36 UTC (permalink / raw)


If you are producing a GNAT on Win32, you wouldn't want to forget to 
include GNATCOM (http://www.gnavi.org/gnatcom) and GWindows 
(http://www.gnavi.org/gwindows). The GNAVI IDE is functional to do some 
crude GUI building also, but that could be added later.

David Botton
http://www.gnavi.org




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

* Re: What is the best source of GNAT for Win32?
  2004-12-26 21:48   ` Jeff C r e e.m
@ 2004-12-27  8:37     ` Martin Krischik
  0 siblings, 0 replies; 12+ messages in thread
From: Martin Krischik @ 2004-12-27  8:37 UTC (permalink / raw)


Jeff C r e e.m wrote:

> 
> "Martin Krischik" <martin@krischik.com> wrote in message
> news:2267527.9HDeXFcgkv@linux1.krischik.com...
>>>> Does the available public
>>> version of GPS have a functioning pretty printer?
>>
>> No, Pretty Printer is a part of the ASIS tools (GNAT ASIS contains not
>> only
>> the ASIS lib itself but also some tools) and there is no cvs for ASIS
>> yet. So unless you know a supported customer who is willing to copy it,
>> it's bad
>> look.
>>
> 
> Ah. That makes sense. I guess people can ignore my previous comment about
> the pretty print stuff I see in GCC cvs.
> I did not take a good look at it. Must be an interface to the ASIS
> support.

Probably the project manager support:

GNAT 3.4.3 Copyright 1996-2004 Free Software Foundation, Inc.

List of available commands

GNAT BIND               gnatbind
GNAT CHOP               gnatchop
GNAT CLEAN              gnatclean
GNAT COMPILE            gnatmake -f -u -c
GNAT ELIM               gnatelim
GNAT FIND               gnatfind
GNAT KRUNCH             gnatkr
GNAT LINK               gnatlink
GNAT LIST               gnatls
GNAT MAKE               gnatmake
GNAT NAME               gnatname
GNAT PREPROCESS         gnatprep
GNAT PRETTY             gnatpp
GNAT STUB               gnatstub
GNAT XREF               gnatxref

Commands FIND, LIST, PRETTY, STUB and XREF accept project file switches
-vPx, -Pprj and -Xnam=val

See there is a "GNAT PRETTY" option here. BTW: "GNAT ELIM" and "GNAT STUB"
are availabe in the public ASIS release :-).

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



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

end of thread, other threads:[~2004-12-27  8:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-26 17:36 What is the best source of GNAT for Win32? Robert C. Leif
2004-12-26 18:20 ` Martin Krischik
2004-12-26 21:48   ` Jeff C r e e.m
2004-12-27  8:37     ` Martin Krischik
2004-12-26 18:21 ` Jeff C r e e.m
2004-12-27  0:30 ` tmoran
2004-12-27  5:36 ` David Botton
  -- strict thread matches above, loose matches on Subject: below --
2004-12-24  4:39 Steve
2004-12-24  9:10 ` Pascal Obry
2004-12-24  9:48 ` Martin Krischik
2004-12-24 14:02   ` Steve
2004-12-25  9:32     ` Martin Krischik

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