--- /dev/null
+TDEFINES = -DDEFAULT_EMULATION=GLD29K_EMULATION_NAME
--- /dev/null
+HDEFINES=-DHOST_SYS=DEC3100_SYS
+YACC=yacc -vd
--- /dev/null
+HDEFINES = -DHOST_SYS=DGUX_SYS -D__using_DGUX
+
+CC = gcc -Wall -ansi
+YACC=yacc -tvd
+
+HOSTING_CRT0=/lib/crt0.o -X
+HOSTING_LIBS=/usr/sde/m88kbcs/lib/libc.a
+HOSTING_EMU=LDEMULATION=gldm88kbcs; export LDEMULATION
+
--- /dev/null
+TDEFINES = -DDEFAULT_EMULATION=GLDM88KBCS_EMULATION_NAME
--- /dev/null
+# The IBM RT/PC has only been supported as a host in a cross-development
+# environment. If you don't have gcc, I was able to get 'hc -Hnocpp -ma'
+# to compile most of the modules, but didn't try running anything.
+YACC = yacc -d
+HDEFINES = -DHOST_SYS=RTBSD_SYS -DNO_VARARGS
+LDFLAGS =
+CC=gcc # hc/pcc just can't cut it
--- /dev/null
+HDEFINES=-DHOST_SYS=SUN4_SYS -DHOST_64_BIT="long long"
+YACC=yacc -tvd
+CC=/usr/latest/bin/gcc -Wall -ansi
+#stuff for self hosting
+HOSTING_CRT0=/lib/crt0.o
+HOSTING_LIBS=/limbo/latest/=sun4/lib/gcc/sparc/1.93/gnulib -lc
+HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
+
--- /dev/null
+HDEFINES=-DHOST_SYS=SUN4_SYS
+YACC=yacc -tvd
+#CC=gcc -Wall -ansi
+#stuff for self hosting
+HOSTING_CRT0=/lib/crt0.o
+HOSTING_LIBS=/limbo/latest/=sun4/lib/gcc/sparc/1.93/gnulib -lc
+HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
+
--- /dev/null
+CDEFINES=-DHOST_SYS=SUN3_SYS
+#CC=gcc -ansi -Wall
+CC=cc
+YACC=yacc -d
+
+
+HOSTING_CRT0=/usr/lib/crt0.o /usr/lib/Fcrt1.o -L/usr/lib/fsoft.o
+HOSTING_LIBS=-lc
+HOSTING_EMU=LDEMULATION=gld68k; export LDEMULATION
--- /dev/null
+TDEFINES = -DDEFAULT_EMULATION=GLD_EMULATION_NAME
--- /dev/null
+OUTPUT_ARCH(sparc)
+OUTPUT_FORMAT("a.out-sunos-big")
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+__DYNAMIC = 0;
+SECTIONS
+{
+ .text 0x2020 BLOCK(0x2000):
+ {
+ CREATE_OBJECT_SYMBOLS ;
+ *(.text);
+ _etext = ALIGN( 0x2000);
+ }
+ .data ALIGN(0x2000) :
+ {
+ *(.data);
+ CONSTRUCTORS;
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ __end = .;
+ }
+}
+
+
--- /dev/null
+OUTPUT_FORMAT("a.out-sunos-big")
+OUTPUT_ARCH(m68k)
+
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+__DYNAMIC = 0;
+SECTIONS
+{
+ .text 0x2020 BLOCK(0x2000):
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = ALIGN( 0x2000);
+ }
+ .data ALIGN(0x20000) :
+ {
+ *(.data)
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ }
+}
+
--- /dev/null
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text) :
+ {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+
--- /dev/null
+
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text) :
+ {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+
--- /dev/null
+SECTIONS
+{
+ .text :
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = .;
+ }
+
+ .data SIZEOF(.text) + ADDR(.text):
+ {
+
+ *(.data)
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ _bss_start = .;
+ *(.bss)
+ [COMMON]
+ _end = . ;
+ }
+}
--- /dev/null
+
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text) :
+ {
+ *(.data)
+ CONSTRUCTORS
+ ___end_list__ = . ;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+
--- /dev/null
+OUTPUT_FORMAT("coff-a29k-big")
+INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */
+SEARCH_DIR(/lab3/u3/sym1/tools/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/local/lib)
+MEMORY {
+ text : ORIGIN = 0x1000000, LENGTH = 0x1000000
+ talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
+ data : ORIGIN = 0x3000000, LENGTH = 0x1000000
+ mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
+ rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
+}
+SECTIONS
+{
+ .text : {
+ *(.text)
+ __etext = .;
+ *(.lit)
+ *(.shdata)
+ } > text
+ .shbss SIZEOF(.text) + ADDR(.text) : {
+ *(.shbss)
+ }
+ .talias : { } > talias
+ .data : {
+ *(.data)
+ __edata = .;
+ } > data
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ __end = ALIGN(0x8);
+ }
+ .mstack : { } > mstack
+ .rstack : { } > rstack
+}
+
--- /dev/null
+OUTPUT_FORMAT("coff-a29k-big")
+SEARCH_DIR(/lab3/u3/sym1/tools/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/local/lib)
+MEMORY {
+ text : ORIGIN = 0x1000000, LENGTH = 0x1000000
+ talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
+ data : ORIGIN = 0x3000000, LENGTH = 0x1000000
+ mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
+ rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
+}
+SECTIONS
+{
+ .text 0 : {
+ *(.text)
+ __etext = .;
+ *(.lit)
+ *(.shdata)
+ } > text
+ .shbss SIZEOF(.text) + ADDR(.text) : {
+ *(.shbss)
+ }
+ .data SIZEOF(.shbss) + ADDR(.shbss): {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+
--- /dev/null
+OUTPUT_FORMAT("coff-a29k-big")
+SEARCH_DIR(/lab3/u3/sym1/tools/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/local/lib)
+MEMORY {
+ text : ORIGIN = 0x1000000, LENGTH = 0x1000000
+ talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
+ data : ORIGIN = 0x3000000, LENGTH = 0x1000000
+ mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
+ rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
+}
+SECTIONS
+{
+ .text 0 : {
+ *(.text)
+ __etext = .;
+ *(.lit)
+ *(.shdata)
+ } > text
+ .shbss SIZEOF(.text) + ADDR(.text) : {
+ *(.shbss)
+ }
+ .data SIZEOF(.shbss) + ADDR(.shbss): {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+
--- /dev/null
+TARGET(m88kbcs)
+OUTPUT_FORMAT(m88kbcs)
+OUTPUT_ARCH(m88k)
+ENTRY(__start)
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0x10000 + SIZEOF_HEADERS :
+ {
+ __.text.start = .;
+ __.init.start = .;
+ LONG(0xf400c001)
+ __.init.end = .;
+ *(.text)
+ __.tdesc_start = .;
+ *(.tdesc)
+ __.text_end = .;
+ __.initp.start = .;
+ __.initp.end =.;
+
+ _etext =.;
+ }
+ .data SIZEOF(.text) + ADDR(.text) + 0x400000:
+ {
+ *(.data)
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ ___end = .;
+ }
+}
+
+
+
--- /dev/null
+SCRIPT
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text) :
+ {
+ *(.data)
+ ___DTOR_LIST__ = . ;
+ LONG((___CTOR_LIST__ - .) / 4 -2)
+ *(___DTOR_LIST__)
+ LONG(0)
+ ___CTOR_LIST__ = . ;
+ LONG((___end_list__ - .) / 4 -2)
+ *(___CTOR_LIST__)
+ LONG(0)
+ ___end_list__ = . ;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+ENDSCRIPT
--- /dev/null
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text) :
+ {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
--- /dev/null
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text) :
+ {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
--- /dev/null
+
+SECTIONS
+{
+ .text :
+ {
+ *(.text)
+ }
+_etext = . ;
+ .data SIZEOF(.text) + ADDR(.text):
+ {
+ *(.data)
+ }
+_edata = .;
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ _bss_start = . ;
+ *(.bss)
+ [COMMON]
+ }
+_end = . ;
+}
--- /dev/null
+SECTIONS
+{
+ .text 0:
+ {
+ *(.text)
+ }
+ .data SIZEOF(.text) + ADDR(.text):
+ {
+ *(.data)
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ }
+}
+