Path: utzoo!censor!geac!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!att!linac!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!psy.oxford.ac.uk!u87rpb From: u87rpb@psy.oxford.ac.uk (Ray Bellis) Newsgroups: comp.os.minix Subject: Cross compilation on Suns. Message-ID: <9102051041.AA08343@brain.psych.> Date: 5 Feb 91 10:41:53 GMT Article-I.D.: brain.9102051041.AA08343 Sender: daemon@ucbvax.BERKELEY.EDU Lines: 29 What exactly is neccesary to allow cross compilation of Minix (68k version) on Unix boxes (Sun Sparcstations in my case, although I could probably find a 3/50 if neccesary)? I'm not interested in running Sun/GCC a.out format object files directly, I want to be able to convert the GCC object files into Minix format ones before transferring them to my ST. From what I've seen so far, standard GCC 1.39 could probably do most of the work, although I guess there might be changes neccesary for Minix's parameter passing conventions (plus the previously mention stuff about typeof(sizeof()) ). After that, I guess it's just a case of writing the GCC/Minix object convertor. This would have to rewrite the headers, the symbol tables, and for 68000 machines, the relocation info as well. So: does anyone have a program that will convert GCC object files into Minix 68k format? Thanks, Ray Bellis p.s. A set of gas compatible m/c library calls and stmpx.s wouldn't go amiss either... :-) ------------------------------------------------------------------------------ Ray Bellis: JANET: INTERNET: ------------------------------------------------------------------------------