comp.lang.ada
 help / color / mirror / Atom feed
* Gnat301A on Win95--no EXE's produced.
@ 1996-02-19  0:00 Tom Daniels
  1996-02-19  0:00 ` Pascal OBRY
  1996-02-19  0:00 ` Ray Toal
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Daniels @ 1996-02-19  0:00 UTC (permalink / raw)


Now that I've installed Win95, I thought I'd
try out GNAT.  I installed it, run the
setpath.bat program from a 'DOS' shell, and
then cd to the examples directory.
I do the following:
gcc -c simple.adb
gnatbind -o hello.exe hello.ali
(I think that gnatbind is the command)

And....
I get no error messages or problems, but
no hello.exe either!
Surely someone else is having this problem too.

Thanks in advance,
Tom
tdaniels@his.com




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

* Re: Gnat301A on Win95--no EXE's produced.
  1996-02-19  0:00 Gnat301A on Win95--no EXE's produced Tom Daniels
  1996-02-19  0:00 ` Pascal OBRY
@ 1996-02-19  0:00 ` Ray Toal
  1 sibling, 0 replies; 3+ messages in thread
From: Ray Toal @ 1996-02-19  0:00 UTC (permalink / raw)
  To: tdaniels

Tom Daniels <tdaniels@his.com> wrote:

>I do the following:
>gcc -c simple.adb
>gnatbind -o hello.exe hello.ali
>(I think that gnatbind is the command)

Actually it is gnatbl
               ^^^^^^

Actually you can save yourself some trouble and just type

  gnatmake simple

which compiles, binds and builds.  I've only found compiling and 
linking separately to be useful in two cases:

  1.  Just doing simple checking with gcc -gnatc

  2.  Mixed language programming

Check out gnatinfo.txt which came with your compiler, or the on-line
help file gcc.hlp since you have Win32.

>And....
>I get no error messages or problems, but
>no hello.exe either!
>Surely someone else is having this problem too.






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

* Re: Gnat301A on Win95--no EXE's produced.
  1996-02-19  0:00 Gnat301A on Win95--no EXE's produced Tom Daniels
@ 1996-02-19  0:00 ` Pascal OBRY
  1996-02-19  0:00 ` Ray Toal
  1 sibling, 0 replies; 3+ messages in thread
From: Pascal OBRY @ 1996-02-19  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]


Tom,

> gcc -c simple.adb
> gnatbind -o hello.exe hello.ali
> (I think that gnatbind is the command)

To compile Ada program with GNAT you have 2 ways :

	> gnatmake simple

	(that build all the package and link simple)

or

	> gcc -c simple.adb
	> gcc -c another-one.adb
	> gcc -c one-mode.adb
	> gnatbl simple.ali

Hope this help,
Pascal.
-- 

--|------------------------------------------------------------
--| Pascal OBRY                               Team-Ada Member |
--|                                                           |
--| EDF-DER-IPN-SID- Ing�nierie des Syst�mes d'Informations   |
--|                                                           |
--| Bureau G1-010           e-mail: Pascal.Obry@der.edfgdf.fr |
--| 1 Av G�n�ral de Gaulle  voice : +33-1-47.65.50.91         |
--| 92141 Clamart CEDEX     fax   : +33-1-47.65.50.07         |
--| FRANCE                                                    |
--|------------------------------------------------------------
--|   "The best way to travel is by means of imagination"




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

end of thread, other threads:[~1996-02-19  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-19  0:00 Gnat301A on Win95--no EXE's produced Tom Daniels
1996-02-19  0:00 ` Pascal OBRY
1996-02-19  0:00 ` Ray Toal

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