Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!atha!aunro!ukma!usenet.ins.cwru.edu!gatech!udel!mmdf From: HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) Newsgroups: comp.os.minix Subject: Re: Cross-compiling Minix programs on the Sun Message-ID: <56212@nigel.ee.udel.edu> Date: 13 Jun 91 12:36:58 GMT Sender: mmdf@ee.udel.edu Lines: 10 Cross-compilations on a SPARCstation for MINIX ST are no problem -- the 'old' GCC port by J. Bammi contains a linker that directly ships out MINIX ST executables. You only have to fix a single point: Relocating longs on positions which are not a multiple of 4 gives an alignment (bus) error on SPARC, you have to copy the item to a local 'long' variable, perform the relocation, and copy it back (using bcopy). C.v.W.