[gnu.gcc] Anyone Ported gcc to a Unisys 5000?

peters@CC.MsState.Edu (Frank W. Peters) (02/21/90)

Hello,

     Has anyone done any work on porting gcc (I have 1.37) to a Unisys
5000 computer?

     The general specifications for this box are:

68020 + 68881 (no 68851) running very vanilla System V Release 3.2
UNIX with NO BSD enhancements.  It has alloca in libPW.

     I think I understand most of the configuration files.  The tm.h
is the only file that I think may be totally beyond my knowledge of
the 5000's architecture (this isn't my usual working machine).   I'm 
currently trying to work with a hacked up version of tm-hp9k320.h with
HPUX_ASM undefined.

     At this point make runs until it tries t run genflags on md to
create tmp-flags.h.  This prints the following error message:

> peters@Delta{2}:make
>         ./genflags md > tmp-flags.h
> sh: 17985 Bus error - core dumped
> *** Error code -118
> 
> Stop.

A tail of tmp-flags.h shows:

> peters@Delta{11}:tail tmp-flags.h
> #define HAVE_rotrhi3 (1)
> extern rtx gen_rotrhi3 ();
> #define HAVE_rotrqi3 (1)
> extern rtx gen_rotrqi3 ();
> #define HAVE_extv (TARGET_68020 && TARGET_BITFIELD)
> extern rtx gen_extv ();
> #define HAVE_extzv (TARGET_68020 && TARGET_BITFIELD)
> extern rtx gen_extzv ();
> #define HAVE_insv (TARGET_68020 && TARGET_BITFIELD)
> extern rtx gen_insv ();
> #defipeters@Delta{12}:

     I'm guessing from this that some internal memory limits are being
exceeded but I have no idea which.

     If anyone has any suggestions or would like to see my current
config files (or, better yet, has a working set of 5000 config files)
I'd love to hear from you.

Thanks
--Frank
--
Frank W. Peters        Systems Programmer     Computing Center & Services
peters@CC.MsState.Edu  Peters@MsState.Bitnet  (601)325-2942
"I can't give you brains, but I can give you a diploma." -- The Wizard of OZ