Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker!bloom-beacon!eru!hagbard!sunic!dkuug!freja.diku.dk!skinfaxe.diku.dk!jensting From: jensting@skinfaxe.diku.dk (Jens Tingleff) Newsgroups: comp.sys.atari.st Subject: Re: Using a mainframe to run gcc for atari Message-ID: <1990Aug31.125230.14955@diku.dk> Date: 31 Aug 90 12:52:30 GMT References: <6428@darkstar.ucsc.edu> Sender: news@diku.dk (The Netnews System) Organization: Department Of Computer Science, University Of Copenhagen Lines: 29 peewee@ucscb.ucsc.edu (Paul Watson) writes: >Suppose I were to download the gcc source from an Atari archive, and compile >it on a mainframe like a VAX or an ISI or a SUN. If I could get the >compiler to run, would it make usable Atari ST program files? I mean, >is the compiler written taking for granted that it will be run on an atari with >specific bit widths for int, long, etc. >Would this work? has anyone done this before? And does anyone know for sure that >I would be waisting my time...? I've used GCC 1.37 (loaded of dsrgsun.ces.cwru.edu) as a cross compiler hosted on a SUN4 running SunOS 4.0.1, no problem. The only problem was an alignment problem in the tool "size", j.bammi sent me a pacth, I don't know if the patch made it into the distribution (or when). The size assumptions are OK for running on a SUN4 (or so it seems). I compiled the doodle demo program, and the PCCTS compiler-compiler tool. These worked straight out of the box. The only thing i don't think I tried was floating point. As the SUN uses IEEE itself, it should be okay. I haven't got the executables for the SUN anymore, so I can't check it.. Jens Jens Tingleff MSc EE, Institute of Computer Science, Copenhagen University Snail mail: DIKU Universitetsparken 1 DK2100 KBH O "It never runs around here; it just comes crashing down" apologies to Dire Straits