[comp.lang.c++] Porting ATT cfront to mips

sandy@nih-csl.dcrt.nih.gov (sandy orlow) (06/12/90)

While porting the ATT cfront Release 2.1 to mips machines, I have
experienced a problem with the "+x" switch. The installation notes
lead me to believe that, when making "fillscratch" to produce
*..c files on the scratch directory, the file passed to cfront with
the "+x" switch (normally, the output produced by the szal program),
will determine the sizes and alignments used by the sizeof function. 
However, it is my experience that the contents of the file do NOT have
any affect on the calculations of sizeof. This creates a problem when
building a bootstrapped cfront on a SUN targeted for a mips machine
because the alignments of the two architectures are different.

I know how to work around this difficulty and have successfully built
C++ on a DEC3100 workstation and on a Silicon Graphics IRIS. But I am
concerned that I am doing something wrong with the installation
procedure. Has anyone else had this problem? Does the "+x" switch
to cfront really work?

Sandy Orlow