From mboxrd@z Thu Jan 1 00:00:00 1970 From: wes.parish@paradise.net.nz (Wesley Parish) Date: Mon, 24 Apr 2006 20:44:07 +1200 (NZST) Subject: [TUHS] gcc-3.4.6 and old unix In-Reply-To: <444C7F4E.7040906@icpnet.pl> References: <000701c6672d$8d6f2ae0$2f01a8c0@myhome.westell.com> <444C1CDD.20805@pacbell.net> <444C7F4E.7040906@icpnet.pl> Message-ID: <1145868247.444c8fd727f62@www.paradise.net.nz> djggp relies on a DOS extender to run its 32-bit programs in a 16-bit operating environment on a 32-bit machine. go32 is Delorie's own DOS extender - OpenWatcom offers at least two other DOS extenders to pull the same kind of trick. If the purpose is to run a 32-bit Unix C compiler in a 16-bit Unix operating environment on a 16-bit machine, it just won't work. I've never heard of anyone ever running djgpp on a 286, either. Just my 0.02c Wesley Parish Quoting Andrzej Popielewicz : > Michael Davidson napisał(a): > > >Bill Cunningham wrote: > > > > > > > >> Has anyone thought of or tried to port the gcc to the old unixes? It > >>would have to be a very scaled down version. A C compiler that would > work > >>with modern c89 or c99. Something to get a C compiler working that > would > >>compile todays programs. The old C compilers can be kept for > safekeeping as > >>they don't work much anymore. > >> > >> > >> > >> > >By "the old unixes" I assume that you mean things like V6 and V7 > >for the PDP-11. > > > >Both gcc and GNU binutils already support PDP-11 targets, at > >least to some extent, so you can already do cross development > >targeted at the PDP-11. > > > >Trying to actually host gcc on a 16 bit UNIX system is almost > >certainly a completely futile and pointless exercise - it is many, > >*many* times too big and I am pretty sure that it assumes at > >least a 32 bit host - if you cut it down enough so that it fit it > >isimply wouldn't be gcc any more. > > > >I suspect that you would also find that most of "todays programs" > >wouldn't fit either ... > > > >Michael Davidson > > > >[ and, actually, the old C compiuers still work just fine for > > ompiling the code that they were priginally intended for ] > > > > > >_______________________________________________ > >TUHS mailing list > >TUHS at minnie.tuhs.org > >https://minnie.tuhs.org/mailman/listinfo/tuh s > > > > > > > What about creating "old unix" version of djgpp. djgpp compiler is 32 > bit "gcc" running in 16 bit DOS. > Perhaps DeJorie could help. > > Andrzej > _______________________________________________ > TUHS mailing list > TUHS at minnie.tuhs.org > https://minnie.tuhs.org/mailman/listinfo/tuhs > "Sharpened hands are happy hands. "Brim the tinfall with mirthful bands" - A Deepness in the Sky, Vernor Vinge "I me. Shape middled me. I would come out into hot!" I from the spicy that day was overcasked mockingly - it's a symbol of the other horizon. - emacs : meta x dissociated-press