comp.lang.ada
 help / color / mirror / Atom feed
From: "Mark" <wilson_m_r@yahoo.com>
Subject: Linking to c++ libraries problem
Date: 1998/08/18
Date: 1998-08-18T00:00:00+00:00	[thread overview]
Message-ID: <01bdcb09$d79eba90$0f010180@nc84c> (raw)

I am using the Gnat ada compiler to link an ada program with functions
defined in c++ . libraries (Microsoft Visual c++ v5).
The problem I am having is that the c++ libraries make use of C++ library
functions (like printf) and when I link using the Gnat ada compiler I get
undefined references to a host of things (like _imp__fprintf). 
The command line I am using is 
	gnatlink main.adb <list of provided c++ libraries>
I think that I want to add to this a library to resolve the missing
declarations but I am not sure what the library is.

Is this library available within gnat?

If not can I use a library within Microsoft Visual c++ v5, if so which

Any response via news group please.




             reply	other threads:[~1998-08-18  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-18  0:00 Mark [this message]
1998-08-18  0:00 ` Linking to c++ libraries problem Jerry van Dijk
1998-08-19  0:00   ` Mark
1998-08-19  0:00     ` Jerry van Dijk
replies disabled

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