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: 344604540 References: <3532632F.7424B473@vci.net> <6gu86j$f8p$1@gonzo.sun3.iaf.nl> <3533A6B4.A5672659@vci.net> Organization: Interport Communications Corp. Newsgroups: comp.lang.ada Date: 1998-04-16T00:00:00+00:00 List-Id: On Tue, 14 Apr 1998 13:11:00 -0500, Andy Perkins wrote: >Geert Bosch wrote: > >> Two ways: >> 1. Pass the name of the object as linker argument to the gnatmake program. >> See the GNAT User's Manual for more details. >> >> 2. Use the pragma Linker_Options ("yourobject.o") to link in your >> object file. See Ada Reference manual. > > The problem is that I don't have a .o file. Mine is an obj file from > Borland Turbo Assembler. I can, of couse, tell there is a difference, > but is there a way to convert an obj file to an o file? 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. -Albert