www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/22/13:57:40

Date: Mon, 22 Apr 1996 18:46:38 +0100
Message-Id: <199604221746.SAA20454@djlvig.dl.ac.uk>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: Standard 32-bit libraries
In-Reply-To: <Pine.SUN.3.91.960422185032.17614C-100000@is>
References: <rzq68asfps1 DOT fsf AT djlvig DOT dl DOT ac DOT uk>
<Pine DOT SUN DOT 3 DOT 91 DOT 960422185032 DOT 17614C-100000 AT is>
From: Dave Love <d DOT love AT dl DOT ac DOT uk>
Organization: Daresbury Laboratory, Warrington WA4 4AD, UK

>>>>> On Mon, 22 Apr 1996 18:56:21 +0200 (IST), Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> said:

 Eli> DJGPP uses COFF as its object file format.  As far as I know it is
 Eli> incompatible with the OBJ format used by other DOS compilers.
 Eli> So you cannot link them together directly.  There is an OBJ to
 Eli> COFF converter that is mentioned in that section of the FAQ
 Eli> which you can use to generate a COFF file from an OBJ file, and
 Eli> *then* link that COFF file with a DJGPP program.

 Eli> If you have further questions, please ask.

OK!  (Sorry if this sounds dumb, but I think others may be similarly
confused, the final answer may be very helpful, and it seems as though
someone should already have tried this.  If the answer is `yes, you
can use a library for popular compiler <foo> version <bar>', that will
be great.)

Given that I can, in principle, link against the object files, I have
no idea (a) whether the argument-passing conventions of the two
compilers are the same (b) whether they do different name-mangling (c)
whether they have the same ideas about the standard library (d) other
things I might not be aware of -- though, of course, I can find the
answers for the djgpp side.

Am I missing the fact that such things are actually defined by the
formats or the architecture involved, perhaps?  I got the impression
that the 32-bit DOS proprietary compilers weren't interoperable
anyway, judging by the library variations on offer.

Thanks for any further enlightenment and your efforts in general,
which make the DOG world rather more bearable :-).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019