comp.lang.ada
 help / color / mirror / Atom feed
From: pitre@n5160d.nrl.navy.mil (Richard Pitre)
Subject: GNAT installation ?
Date: 1996/03/26
Date: 1996-03-26T00:00:00+00:00	[thread overview]
Message-ID: <4j95ad$eep@ra.nrl.navy.mil> (raw)

I'm having a little trouble getting started with GNAT 
for NeXTStep (UNIX BSD 4.3).
the gcc version is 2.7.2 and I think that GNAT version is 3.01a

I compiled this exercise 1.2a from Cohen's book
******************************
with Ada.Integer_Text_IO;

procedure Sum_3_Inputs is
-- This program reads in three numbers
-- and prints out their sum
A,B,C: Integer;

begin
  Ada.Integer_Text_IO.Get(A);
  Ada.Integer_Text_IO.Get(B);
  Ada.Integer_Text_IO.Get(C);
  Ada.Integer_Text_IO.Put(A+B+C);
end Sum_3_Inputs;
******************************

When I run gnatbl, I get the message:

ld: Undefined symbols:
_getcwd

Any clues.

richard




             reply	other threads:[~1996-03-26  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-26  0:00 Richard Pitre [this message]
1996-03-26  0:00 ` GNAT installation ? Larry Howard
replies disabled

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