comp.lang.ada
 help / color / mirror / Atom feed
From: griest-tom@cs.yale.edu (Tom Griest)
Cc: michael@ifr.luftfahrt.uni-stuttgart.de
Subject: Re: Code compatibility of GNAT on Win/NT with other compilers
Date: 1996/05/16
Date: 1996-05-16T00:00:00+00:00	[thread overview]
Message-ID: <4nfo2vINNi67@RA.DEPT.CS.YALE.EDU> (raw)
In-Reply-To: 4nd3fr$26aq@info4.rus.uni-stuttgart.de


michael@ifr.luftfahrt.uni-stuttgart.de writes:

>we are currently considering to use GNAT on WindowsNT. One question
>that arises in this context is how compatible GNAT is with other
>compilers. I have almost no experience with the Microsoft world because
>I am a Unix guy. On a Unix machine there is normally only one standard
>object format and only one linker and so it has never been a problem
>for me to mix different languages. But in the Microsoft world this
>seems to be different. Could anybody please shed some light on this.

On Windows 32-bit platforms (Win95 and WinNT) the standard object
file format is COFF, however, COFF does allow for "optional headers"
and corresponding sections which can contain implementation specific 
information.  The Microsoft VC++ compilers use the .debug section 
with an IMAGE_DEBUG_TYPE set to either COFF or CODEVIEW.
For the most part there is no problem linking MS object files with
GNAT generated object files.  I've never seen a problem when using
the MS linker, but 'ld' can still have some problems with some of
the oddball MS files (certain types of C++ stuff I believe).  

-Tom




  parent reply	other threads:[~1996-05-16  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-15  0:00 Code compatibility of GNAT on Win/NT with other compilers michael
1996-05-16  0:00 ` Jonas Nygren
1996-05-17  0:00   ` Ken Cowan
1996-05-16  0:00 ` Tom Griest [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-05-16  0:00 Bob Crispen
1996-05-17  0:00 ` Fergus Henderson
replies disabled

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