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: Andy Perkins Subject: Re: Pragma and Object Files Date: 1998/04/14 Message-ID: <3533A610.D6AC9B1@vci.net>#1/1 X-Deja-AN: 344024359 Content-Transfer-Encoding: 7bit References: <3532632F.7424B473@vci.net> <199804141404.QAA29161@basement.replay.com> Content-Type: text/plain; charset=us-ascii Organization: Telalink Corporation, Nashville, TN, USA Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-04-14T00:00:00+00:00 List-Id: Anonymous wrote: > On Mon, 13 Apr 1998 14:10:39 -0500, Andy Pekrins wrote: > > > The problem I am having is figuring out > > how to actually (physically) link my > > object file, from say, an assembler, to > > my Ada program. > > > > ... > > Pass the object file to the linker: > > gnatmake main_subprogram_name -largs asembler_routine.obj I actually tried this before I posted that message. This causes an "unrecognized file format" error for the .obj file. I believe the linker is looking for a GNAT .O object file... Mine is an OBJ file coming from Borland's Turbo Assembler, and I have also tried MASM. storm@vci.net