Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.sys.ibm.pc Subject: What's a relocatable segment? Message-ID: <16473@iuvax.cs.indiana.edu> Date: 15 Jan 89 19:22:34 GMT Organization: malkaryotic Lines: 17 Help, somebody. Occasionally I compile a program in in TurboC's Tiny model, for subsequent conversion from a .exe to a .com file. Then I use 'exe2bin' or a similar program to do the conversion. (Yes, I know that the new version of 'tlink' makes .com files directly. Nonetheless...) The thing is, sometimes this conversion fails with a message sort of like "Program has relocatable segments, can't convert." Nowhere in any of the documentation I have, can I find a statement of what this means, or what exe2bin/exe2com are looking for. Or what they're actually doing, for that matter. I know what segments are, but I don't know what is being done to them, or how it is that they might be relocatable in a .exe file without being relocatable in a .com file -- this sounds like a "relocatable" other than just loading at arbitrary points in the memory space, which any executable file should be able to do. Would someone who understands this please post a bit of tutorial? I know I'd appreciate it....