comp.lang.ada
 help / color / mirror / Atom feed
* Newbie question: How to use gnat make
@ 2009-09-19 14:05 Markus
  2009-09-19 15:20 ` Ludovic Brenta
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Markus @ 2009-09-19 14:05 UTC (permalink / raw)


Hi,

I am new to Ada, learning with the book "Programming in Ada 2005" from
John Barnes. I want to build a program using the GNAT GPL compiler on
the command line. If my program resides in a single file I just call

gnat make myfun.adb,

but how do I call the compiler if I want to use ("with") packages
defined in another file? I know the include, compile and link
procedure from C programs, is it similar in Ada? What about the file
extensions .ada/.adb/.ads?

Yours
Markus



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

end of thread, other threads:[~2009-09-20 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-19 14:05 Newbie question: How to use gnat make Markus
2009-09-19 15:20 ` Ludovic Brenta
2009-09-19 15:54 ` John B. Matthews
2009-09-20  9:34   ` Markus
2009-09-20 18:17 ` Stephen Leake

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