delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/07/27/15:02:51

Date: Mon, 27 Jul 92 14:18:16 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: rcharif AT math DOT utexas DOT edu
Cc: alvin AT eyepoint DOT on DOT ca, hideki AT isl DOT rdc DOT toshiba DOT co DOT jp,
djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: WARNING: cross compilation for DJ1.0x

>One thing to bare in mind. DJ changed the a.out format so that text
>starts at physical offset 0x20 in the file. Usually in ZMAGIC a.out
>files (magic number == 0413) have their text starting at physical
>offset 0x1000 in the file. You will need to patch go32 file paging.c
>and set the areas[0].foffset and areas[1].foffset to the right offset

DO NOT CHANGE GO32 TO SUPPORT A CROSS-LINKER.  FIX THE CROSS-LINKER.

If you do not do this, code you write will not be usable by anyone
without your patched go32.  Go32's a.out format was chosen for optimal
space and time considerations and will not change.  If you are that
concerned, use coff format, which go32 also supports (see paging.c)
and which can be moved around without changing go32.

DJ
dj AT ctron DOT com
Life is a banana.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019