u87rpb@psy.oxford.ac.uk (Ray Bellis) (02/05/91)
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: <u87rpb@uk.ac.ox.psy> INTERNET: <u87rpb%psy.ox.ac.uk> ------------------------------------------------------------------------------
kentd@FtCollins.NCR.com (Kent.Dalton) (02/11/91)
>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)? A GCC cross compiler kit is available from atari.archive.umich.edu via anon. FTP. The directory is something like atari/gnustuff/minix... The version I have is based on GCC 1.37.1 I believe. Hope this helps -- /**************************************************************************/ /* Kent Dalton * EMail: Kent.Dalton@FtCollins.NCR.COM */ /* NCR Microelectronics * CIS: 72320,3306 */ /* 2001 Danfield Ct. MS470A * */ /* Fort Collins, Colorado 80525 * (303) 223-5100 X-319 */ /**************************************************************************/ Fortune: I haven't lost my mind -- it's backed up on tape somewhere.
HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (02/13/91)
I have just developed a small program that will convert GNU a.out files to MINIX-68K files. You just have to pass the options -r and -d to the linker, and the program will convert the a.out file to MINIX-68K file, it converts the header, copies text,data, converts the symbol table, and writes out the GEMDOS relocation info. I can post it tomorrow. Is is meant to be called somehow from gcc-ld. C.v.W.