[TUHS] [pups] gcc-3.4.6 and old unix

patv at monmouth.com patv at monmouth.com
Tue Apr 25 22:53:28 AEST 2006

If this helps at all, I've been working (very, very slowly) on a port of
v32 to Intel platforms.  At first I used gcc for some kernel work, but
quickly realized that it would be overwhelming to the final v7 system. 
Since I don't want to do the work twice, I looked for a different compiler
suite.  I switched to the ACK compiler suite and just finished the WinXP
cross compiler work.  It has a pdp11 back end, which I have yet to try,
that may be useful.

It isn't gcc, but ir does do ANSI C and the i386 assembler seems to be
pretty complete.  Let me know if there's any interest and I'll put it up
on my site for download.


> Toby Thain napisał(a):
> >On 24-Apr-06, at 9:05 AM, Wesley Parish wrote:
> >
> >  
> >
> >>Quoting Andrzej Popielewicz <vasco at icpnet.pl>:
> >>
> >>    
> >>
> >>>Wesley Parish napisał(a):
> >>>
> >>>      
> >>>
> >
> >It can't be done.
> >
> >As others point out, the program is many times (100x or more?) too  
> >big -- likely even gcc 1.x is far too big, but gcc {2,3,4}.x are all  
> >meant for large 32-bit systems.
> >
> >However, cross-compilation can certainly be easily done. I have made  
> >a PDP-11 back-end for lcc[1] (not quite complete but shows that it  
> >can be done), which is an ANSI (c89) compiler[2]. lcc is a much  
> >smaller and simpler compiler than gcc, but its executables are still  
> >massively outsize for PDP-11 systems.
> >  
> >
> Yes, even running vi or csh in Ultrix (in simh pdp11) produced message : 
> too big. After setting cpu to 3072K it worked(setting to 4096 K hanged 
> the system BTW).
> Cross compilation has also this advantage , that You have better editors 
> to Your disposal and You can work faster.
> Well native cc seems to be good enough, using pdp11 in emulator we have 
> anyway only hobbyst license .
> Andrzej
> _______________________________________________
> TUHS mailing list
> TUHS at minnie.tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/tuhs

This message was sent using Monmouth Internet MI-Webmail.

More information about the TUHS mailing list