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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b077f14f0dce8d68 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-26 17:37:30 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!zombie.ncsc.mil!admii!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: banner@cs.nyu.edu (Bernard Banner) Newsgroups: comp.lang.ada Subject: Re: Question: Gnat + EMX Date: 26 Mar 1995 13:47:17 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3l4crl$82p@gnat.cs.nyu.edu> References: <3kmbdd$8j4@cc.joensuu.fi> NNTP-Posting-Host: gnat.cs.nyu.edu Date: 1995-03-26T13:47:17-05:00 List-Id: 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