comp.lang.ada
 help / color / mirror / Atom feed
From: wtanksle@sdcc10.ucsd.edu (William Tanksley)
Subject: Re: Pragma and Object Files
Date: 1998/04/14
Date: 1998-04-14T00:00:00+00:00	[thread overview]
Message-ID: <6h0igp$q0d$1@news1.ucsd.edu> (raw)
In-Reply-To: 6gvg24$m8u$1@news.uni-c.dk


In article <6gvg24$m8u$1@news.uni-c.dk> sparre@meyer.fys.ku.dk (Jacob Sparre Andersen) writes:
>Andy Pekrins (storm@vci.net) asked about using assembler object (OBJ) files
>with GNAT 3.10p.

>Since you identify the object file as an "OBJ" file rather than an "o" file,
>I suspect that the object file is in a M$ format.

Agreed.

>GNAT uses a different format for object files, so you will have to see if the
>GNU assembler can convert your file.

The assembler won't help you at all -- object formats are not its job (and
it's not that good at its job anyways :).

There exists a program which converts from .obj to .o; I don't remember
anything useful about it, but you can almost certainly find some info at
DJ's web site at http://www.delorie.com/djgpp (this is the C compiler
whose backend is used as the backend for Gnat under DOS).  In the event
that nothing there helps, try asking the folk at news:comp.os.msdos.djgpp;
they've been quite helpful to me on occasion.

>Good luck.

Seconded.

>Jacob

>PS: I have never tried this myself, so I might be completely off track.

It's been quite a while... :)

>                        Have you played with your LEGO today?

-Billy




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

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-13  0:00 Pragma and Object Files Andy Pekrins
1998-04-14  0:00 ` Jacob Sparre Andersen
1998-04-14  0:00   ` William Tanksley [this message]
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 ` Anonymous
1998-04-14  0:00   ` Andy Perkins
replies disabled

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