|
|
1.1 ! root 1: Support for CRDS machines was contributed by Gary E. Miller ! 2: ([email protected]) ! 3: ! 4: This file describes the implementation notes of the GNU C Compiler for ! 5: the Motorola 68000 on the Charles River Dat Systems Universe 32 running ! 6: the UNOS operating system. ! 7: ! 8: This release still depends on the CRDS supplied assembler. ! 9: The CRDS assembler has no provision for assembling debug information ! 10: so the -g option is broken. ! 11: ! 12: The UNOS assembler is named "casm" instead of "as". ! 13: For some strange reason linking "/bin/casm" to "/bin/as" changes the ! 14: behavior of casm for the worse. To allow GCC to function either ! 15: change all references to "as" in gcc.c to "casm", or create the ! 16: following shell script named /bin/as: ! 17: #!/bin/sh ! 18: casm $* ! 19: ! 20: The default UNOS library is named "libunos.a" instead of "libc.a". To allow ! 21: GCC to function either change all references to "-lc" in gcc.c to "-lunos" or ! 22: link "/lib/libunos.a" to "/lib/libc.a". ! 23: ! 24: UNOS uses memory segmentation instead of demand paging so you will need ! 25: a LOT of RAM. 5 Mb is just barely enough to get by on if no other tasks ! 26: are running. if CC1 is too large to link on your machine try putting ! 27: the object files in a library and linking from that library. ! 28: ! 29: alloca() expects that the C compiler pops the stack after every function ! 30: call. The Green Hills C compiler verion 1.8.0 supplied with UNSO does not. ! 31: This behavior causes some programs (GNU make) to crash, and others to merely ! 32: grow unbounded (GCC). To avoid this problem do not use -O in stage1/stage2, ! 33: and set CFLAGS=-Wx,-X23 to force Green Hills to pop the stack more often. ! 34: After stage2 builds properly then use GCC with the builtin_alloca to compile ! 35: an optimized version of GCC as stagees 3 and 4. ! 36: ! 37: The file cccp.c has been modified so that the GNU cpp checks the ! 38: default UNOS location /include for include files as well as all the ! 39: standard places. ! 40: ! 41: Before compiling be sure config/crds.h is linked to tm.h, and ! 42: config/xm-crds.h is linked to config.h. ! 43: ! 44:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.