comp.lang.ada
 help / color / mirror / Atom feed
* Re: c++ interface -- clarifications
@ 2000-12-12  8:37 Duncan Sands
  0 siblings, 0 replies; only message in thread
From: Duncan Sands @ 2000-12-12  8:37 UTC (permalink / raw)
  To: comp.lang.ada

I have successfully used gnat and gcc 2.95.2 under windows to mix
Ada, C and Fortran code.  However there was a problem in that some
static variables were not being initialized properly in the C code
(compiled using 2.95.2) when linked with code compiled with 2.8.1
(Ada or C).  I got around this by encapsulating all code compiled
with 2.95.2 in dlls, and then everything worked fine.

I hope this helps,

Duncan Sands.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-12  8:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-12  8:37 c++ interface -- clarifications Duncan Sands

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