[TUHS] [pups] gcc-3.4.6 and old unix
Andrzej Popielewicz
vasco at icpnet.pl
Tue Apr 25 16:28:57 AEST 2006
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
More information about the TUHS
mailing list