comp.lang.ada
 help / color / mirror / Atom feed
From: Markus <markus.buehren@gmail.com>
Subject: Newbie question: How to use gnat make
Date: Sat, 19 Sep 2009 07:05:16 -0700 (PDT)
Date: 2009-09-19T07:05:16-07:00	[thread overview]
Message-ID: <b1f1461a-4899-437e-a20b-0a9dbf583c0d@n2g2000vba.googlegroups.com> (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



             reply	other threads:[~2009-09-19 14:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 14:05 Markus [this message]
2009-09-19 15:20 ` Newbie question: How to use gnat make Ludovic Brenta
2009-09-19 15:54 ` John B. Matthews
2009-09-20  9:34   ` Markus
2009-09-20 18:17 ` Stephen Leake
replies disabled

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