Date: Wed, 7 Jul 1999 15:57:01 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Andy Cooper cc: djgpp AT delorie DOT com Subject: Re: How to change Executable format to my own? In-Reply-To: <7lqd8u$k06$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 5 Jul 1999, Andy Cooper wrote: > Hi,Well, I'm wondering whether anyone will be able to help me. I am wanting > to get DJGPP C to produce executables in my own format.The plan is to > convert the output from DJGPP, into a flat memory executable that will have > two segments, one for the program and the second for the data. These segments > will have an address starting at zero. Sorry, I don't understand. How can two sections begin at the same address (zero)? Right now, the DJGPP memory layout is: first code, then data, then bss. This layout is defined in the lib/djgpp.djl linker script.