From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a3e487894bcfd825 X-Google-Attributes: gid103376,public From: aklee@spam.this.interport.net (Albert K. Lee) Subject: Re: Pragma and Object Files Date: 1998/04/16 Message-ID: #1/1 X-Deja-AN: 344778479 References: <3532632F.7424B473@vci.net> <6gu86j$f8p$1@gonzo.sun3.iaf.nl> <3533A6B4.A5672659@vci.net> <35361C04.2BC8@gsfc.nasa.gov> Organization: Interport Communications Corp. Newsgroups: comp.lang.ada Date: 1998-04-16T00:00:00+00:00 List-Id: On Thu, 16 Apr 1998 10:56:04 -0400, Stephen Leake wrote: >Albert K. Lee wrote: >> >> An .obj file is an .o file, there is no difference ... DOS uses an >> .obj file extension while many other OS's use .o instead. > >Sorry, but no. There are many different object file formats. Borland, >Microsoft, and GNAT are all different from each other. I don't know of >any way to directly convert one format to another, but there may be >something like that in the gnu bintools (but gnu bintools probably don't >know about Borland object format!). > >You'll have to compile the assembler code with the gnu assembler. I >don't know if the assembler syntax is the same; the opcode mnemonics >probably are, but the macro language is probably different. > >Good Luck! Sorry. Where I come from (that is, the distant past), Intel specified a common .obj format. MASM code was easily linked with Turbo Pascal and so on. Is this not the case anymore?