Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!sundc!jedi!hi!hc!beta!myxm From: myxm@beta.UUCP (Mike Mitchell) Newsgroups: comp.os.minix Subject: Need help with 'dos2out' Message-ID: <6249@beta.UUCP> Date: Fri, 12-Jun-87 18:05:19 EDT Article-I.D.: beta.6249 Posted: Fri Jun 12 18:05:19 1987 Date-Received: Sat, 20-Jun-87 20:57:17 EDT Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 26 Keywords: dos2out help exe file format I have been working on compiling Minix sources under DOS with a combination of the new Turbo C compiler and Microsoft Macro Assembler V3.0. I get to the point where I can link with a library of routines for Minix but when I run dos2out, it tells me the number of relocation items in the table is greater than one. Inspection with Norton Utils at the magic locations tells me that there are two items for relocation. So that is the problem, but what does one tell MASM in order to decrease this count by one? The library I have created is based on the small memory model which conforms to the separate I&D space model supported by Minix. I do not have any problems through the linking stage. But, I kind of have a gut level feeling that the two items for relocation are the code segment and the data segment. Is there any way to fake out the linker or a nifty trick that can be done in crtso.asm in order to get around this problem? Any insight into this problem would greatly be appreciated. Thank you Mike Mitchell myxm@lanl.gov {backbone}!cmcl2!lanl!myxm