comp.lang.ada
 help / color / mirror / Atom feed
From: Andy Pekrins <storm@vci.net>
Subject: Pragma and Object Files
Date: 1998/04/13
Date: 1998-04-13T00:00:00+00:00	[thread overview]
Message-ID: <3532632F.7424B473@vci.net> (raw)


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





             reply	other threads:[~1998-04-13  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-13  0:00 Andy Pekrins [this message]
1998-04-14  0:00 ` Pragma and Object Files Anonymous
1998-04-14  0:00   ` Andy Perkins
1998-04-14  0:00 ` Geert Bosch
1998-04-14  0:00   ` Andy Perkins
1998-04-16  0:00     ` Albert K. Lee
1998-04-16  0:00       ` Stephen Leake
1998-04-16  0:00         ` Albert K. Lee
1998-04-21  0:00           ` William Tanksley
1998-04-14  0:00 ` Jacob Sparre Andersen
1998-04-14  0:00   ` William Tanksley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox