Documentation for the local crosscopiler build Andreas Bischoff 20.8.97 Step 1: unpack To build the compiler at SOLARIS1 (SUNOS 4.1.X) : Step 2: run configure with the following options: configure --prefix=/DISK/E/bischoff/os9/usr/local --host=sparc-sun-sunos4.1.3 --target=m68k-os9 --with-gnu-as --with-gnu-ld --nfp --enable-bfd-assembler --norecursion Step 3: Modify Makefile at gcc -Directory, so that LANGUAGES defines only gcc und g++ ! (objective-c won't work!) (better use a command line switch which disable the objective-c build, see OS9-Usenet Archive, Read Walter hunt's Article) Step 4: (only for me:) I don't want the crosscompiler under /usr/local/.. so I patch the sources for hardcoding my own path! (don't do this, if you unsure..) At directory gcc/config/m68k modify os9.h and t-os9 so that /usr/local/os is substituted with /DISK/E/Bischoff/os9/usr/local/m68k-os9 . Step 5: The OS9-Libs must be at /DISK/E/Bischoff/os9/usr/local/m68k-os9/lib (for me, originally /usr/local/m68k-os9/lib) Transfer it via FTP binary mode! The OS9-Header must be at /DISK/E/Bischoff/os9/usr/local/m68k-os9/include (for me, originally /usr/local/m68k-os9/include) Transfer it via FTP text mode! Step 6: Run make and hope........