petri (Stefan Petri) (10/08/89)
I just applied Bob McQueer's patches to hard-param.c and tried it again... but it still doesn't work. Machine : Nixdorf Targon/35-M50 with TOS3.2 (a clone of a Pyramid 9810(?), OSx 4.0(?)) After `make stage1` I try to compile gcc with gcc itself and : gcc 26 > ucb make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" stage1/gcc -g -O -Bstage1/ -I. -I. -I./config -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c `echo ./gcc.c | sed 's,^\./,,'` gcc.c:312: register name not specified for `vflag' gcc.c:345: register name not specified for `standard_startfile_prefix' stage1/gcc: Program cc1 got fatal signal 4. *** Exit 1 Stop. These are the lines : (definitions of global variables) gcc.c:312:unsigned char vflag; gcc.c:345:char *standard_startfile_prefix = STANDARD_STARTFILE_PREFIX; It looks to me as if the definitions in the config/*pyr* are inconsistent in themselves, but I get only very small info about the register structure and none about the pyramids machine language; so I'm not able to check the pyr- configurationfiles myself. I would be glad for any hints. Has anybody succeeded in building gcc on the pyramid ? Is it worth doing it ? Will the gcc-compiled binaries be faster and/or smaller than those from /bin/cc ? S.P. -- Stefan Petri <petri@tubsibr.UUCP> Technische Universitaet Braunschweig, Institut fuer Betriebssysteme und Rechnerverbund, 3300 Braunschweig, W. Germany.