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: nobody@REPLAY.COM (Anonymous) Subject: Re: Pragma and Object Files Date: 1998/04/14 Message-ID: <199804141404.QAA29161@basement.replay.com>#1/1 X-Deja-AN: 343942719 Content-Transfer-Encoding: 7bit References: <3532632F.7424B473@vci.net> X-001: Replay may or may not approve of the content of this posting X-002: Report misuse of this automated service to X-URL: http://www.replay.com/remailer/ Content-Type: text/plain; charset=us-ascii Organization: Replay Associates, L.L.P. Mail-To-News-Contact: postmaster@nym.alias.net Newsgroups: comp.lang.ada Date: 1998-04-14T00:00:00+00:00 List-Id: On Mon, 13 Apr 1998 14:10:39 -0500, Andy Pekrins wrote: > I have asked several people about this, but > haven't received the answer I need. I am > using GNAT 3.10p, and know how to use a > pragma to import from another language. > > 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 Jeff Carter PGP:1024/440FBE21 My real e-mail address: ( carter @ innocon . com ) "Go and boil your bottom." Monty Python & the Holy Grail Posted with Spam Hater - see http://www.compulink.co.uk/~net-services/spam/