comp.lang.ada
 help / color / mirror / Atom feed
From: Jonas Nygren <jonas@joy.ericsson.se>
Subject: Re: GNAT for NT Linking Problem
Date: 1996/09/09
Date: 1996-09-09T00:00:00+00:00	[thread overview]
Message-ID: <3234724E.251E@joy.ericsson.se> (raw)
In-Reply-To: 32342D50.1E1C@planet8.eag.unisysgsg.com


Matt O'Hara wrote:
> 
> Gentlepeople -
> 
> I'm in the process of porting a Solaris Ada program to the PC, using
> GNAT 304a for Windows NT (freshly ftp'd and installed). This Ada program
> uses the C libraries extensively (basic things, like fputc, fgetc, feof,
> toupper, etc).
> 
> All the Ada code compiles correctly, yet when I try to link I am getting
> errors referencing some of these C libraries. For example, it cant find
> things like toupper or feof, yet it (evidently, based on the lack of
> error message) can find things like tolower and fputc. Considering that
> these routines should come from the same sets of libraries, it seems odd
> that the linker could find one thing but not the others.
> 
> I had similar problems when I tried installing and using the GNAT 301a
> compiler.
> 
> Any ideas?

Gnat uses some of the stdio routines to implement Ada file-io. 
Look in the 'adaincludes' directory for i-cstrea.ads
and you find what is available via Gnat. If you need more you would
have to include these interfaces yourself via some library or .obj
file.

> 
> --
> Matthew H. O'Hara
> Principal S/W Engineer
> Lockheed Martin Tactical Defense Systems, Eagan, MN
> 612-456-3228               matthew.h.ohara@lmco.com




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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-09  0:00 GNAT for NT Linking Problem Matt O'Hara
1996-09-09  0:00 ` Jonas Nygren [this message]
1996-09-09  0:00   ` Michael Feldman
1996-09-23  0:00     ` Klaus Wyss
1996-09-23  0:00       ` Tom Griest
1996-09-24  0:00       ` Robert Dewar
1996-09-25  0:00       ` Matt O'Hara
1996-09-09  0:00 ` Tom Griest
1996-09-10  0:00 ` Bruce.Conroy
replies disabled

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