comp.lang.ada
 help / color / mirror / Atom feed
* Multiple partitions with GNAT 3.12p
@ 2000-11-15  0:00 Vincent Smeets
  2000-11-15  0:00 ` Gisle Sælensminde
  2000-11-15  0:00 ` Robert Dewar
  0 siblings, 2 replies; 7+ messages in thread
From: Vincent Smeets @ 2000-11-15  0:00 UTC (permalink / raw)


Hallo,

I'm using GNAT 3.12p. How can I compile and link a program with multiple
partitions? What must I do to create the partitions?

As an example, I want package A to be a separate partition from the main
program B.

package A is
   procedure P (I : String);
end A;

with Ada.Text_IO;
package body A is
   procedure P (I : String) is
   begin
      Ada.Text_IO.Put_Line (I);
   end P;
end A;

with A;
procedure B is
begin
   A.P ("Testing partitions.");
end B:

-- Vincent Smeets                 Competence Center Informatik GmbH
-- Tel. : +49-5931-805461         Postfach 1225
-- Fax  : +49-5931-805175         49702 Meppen, Germany
-- EMail: Vincent.Smeets@CCI.de   http://www.CCI.de/
-- PGP fingerprint: 53 1C 3B 6F B6 9A EB 83  B4 7E 25 08 78 BD 5C 2C




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

end of thread, other threads:[~2000-11-17  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-15  0:00 Multiple partitions with GNAT 3.12p Vincent Smeets
2000-11-15  0:00 ` Gisle Sælensminde
2000-11-15  0:00   ` Vincent Smeets
2000-11-15  0:00     ` Gisle Sælensminde
2000-11-16  6:03       ` Vincent Smeets
2000-11-17  0:00   ` Robert Dewar
2000-11-15  0:00 ` Robert Dewar

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