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,start X-Google-Attributes: gid103376,public From: Andy Pekrins Subject: Pragma and Object Files Date: 1998/04/13 Message-ID: <3532632F.7424B473@vci.net>#1/1 X-Deja-AN: 343679394 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Telalink Corporation, Nashville, TN, USA Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-04-13T00:00:00+00:00 List-Id: 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. Do I need to convert my OBJ file to an Ada library file? If so, how could I go about doing that? For clarity, let me run this down real quick. I have an assembler object (OBJ) file that I need to import a few functions from into my Ada program. How do I like that object file with my Ada program? I know how to import the functions using "pragma import..." Also, if anyone has any clues about how to use interrupts or output data to a port using Ada, please let me know. Thanks storm@vci.net