comp.lang.ada
 help / color / mirror / Atom feed
* Question: Gnat + EMX
@ 1995-03-21 10:56 Eric Dahlman
  1995-03-26 18:47 ` Bernard Banner
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Dahlman @ 1995-03-21 10:56 UTC (permalink / raw)


I was looking at teh readme's for Gnat for EMX and I was wondering if 
someone could clear up a question for me?  I can clarify this if 
necessary but I figure if you know the answer you will probably 
understand the question.  Is it possible to generate .obj (OMF) files and 
link them with link386 using gnat or am I tied to the .o format?  This is 
possible in the the other languages but I am not sure if Gnat can do it 
and I don't have the time to play with it at the moment.

Thanks for any help,
Eric



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question: Gnat + EMX
  1995-03-21 10:56 Question: Gnat + EMX Eric Dahlman
@ 1995-03-26 18:47 ` Bernard Banner
  0 siblings, 0 replies; 2+ messages in thread
From: Bernard Banner @ 1995-03-26 18:47 UTC (permalink / raw)


dahlman@cc.joensuu.fi (Eric Dahlman) writes:
: I was looking at teh readme's for Gnat for EMX and I was wondering if 
: someone could clear up a question for me?  I can clarify this if 
: necessary but I figure if you know the answer you will probably 
: understand the question.  Is it possible to generate .obj (OMF) files and 
: link them with link386 using gnat or am I tied to the .o format?  This is 
: possible in the the other languages but I am not sure if Gnat can do it 
: and I don't have the time to play with it at the moment.
: 
: Thanks for any help,
: Eric

Currently GNAT is set up to deal with .o format. The EMX system provides
utilites to convert from .o format to .obj format. So if you wanted to attempt
to use .obj format you probably have two alternatives. 

Option 1. a. Recompile all your programs and the GNAT Run-Time library files
             with the -Zomf option which should generate .obj format.
          b. Reconstruct the gcc.a and gnat.a files into .lib files using
             the OS/2 lib utility.
          c. Use the output of gnatbl as a guide in what files need to be
             linked together using link386.
Option 2.
          a. Use the relevant EMX utilies (see the files in emx\doc for
             instructions) to convert the relevant .o to .obj files.
          Then proceed with b and c as noted in Option 1.

I have no idea if any of this works since I have not tried it. Right now the
system is set up to use .o format since this seems to be the preferred and
most flexible format under EMX and allows the GDB debugger to be used. So as
you noted in your posted message, if you don't have the time to play with it,
consider the answer as NO.

Bernard Banner



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-03-26 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-03-21 10:56 Question: Gnat + EMX Eric Dahlman
1995-03-26 18:47 ` Bernard Banner

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