
This is a complete gcc 2.5.8 cross compiling package, running on
i486-linux and producing code for m68k-linux. Unpack the tar archive
in your gcc-lib path, with is most propably /usr/lib/gcc-lib or
/usr/local/lib/gcc-lib. The compiler driver (gcc) is the same for all
cross compilers. You select the target machine by the -b option.

You will also want to place the m68k-linux libraries in
m68k-linux/2.5.8 if you want to use the cross compiler not only for
the kernel. Just copy the libraries of your Linux/68k system.

Contents:

drwxr-xr-x roman/wheel 0 Nov 30 11:05 1994 m68k-linux/
drwxr-xr-x roman/wheel 0 Nov 30 11:06 1994 m68k-linux/2.5.8/
-rwxr-xr-x roman/wheel 34696 May 13 18:18 1994 m68k-linux/2.5.8/ar
drwxr-xr-x roman/wheel     0 May 14 16:58 1994 m68k-linux/2.5.8/include/
-rw-r--r-- roman/wheel  3719 May 14 16:58 1994 m68k-linux/2.5.8/include/float.h
-rw-r--r-- roman/wheel  2922 May 14 16:58 1994 m68k-linux/2.5.8/include/limits.h
-rw-r--r-- roman/wheel   137 May 14 16:58 1994 m68k-linux/2.5.8/include/proto.h
-rw-r--r-- roman/wheel  4594 May 14 16:58 1994 m68k-linux/2.5.8/include/stdarg.h
-rw-r--r-- roman/wheel  6816 May 14 16:58 1994 m68k-linux/2.5.8/include/stddef.h
-rw-r--r-- roman/wheel   239 May 14 16:58 1994 m68k-linux/2.5.8/include/syslimits.h
-rwxr-xr-x roman/wheel  2470 May 14 16:58 1994 m68k-linux/2.5.8/include/va-alpha.h
-rw-r--r-- roman/wheel  1715 May 14 16:58 1994 m68k-linux/2.5.8/include/va-clipper.h
-rw-r--r-- roman/wheel  1435 May 14 16:58 1994 m68k-linux/2.5.8/include/va-h8300.h
-rwxr-xr-x roman/wheel  6525 May 14 16:58 1994 m68k-linux/2.5.8/include/va-i860.h
-rwxr-xr-x roman/wheel  2074 May 14 16:58 1994 m68k-linux/2.5.8/include/va-i960.h
-rwxr-xr-x roman/wheel  2561 May 14 16:58 1994 m68k-linux/2.5.8/include/va-m88k.h
-rwxr-xr-x roman/wheel  2178 May 14 16:58 1994 m68k-linux/2.5.8/include/va-mips.h
-rwxr-xr-x roman/wheel  1383 May 14 16:58 1994 m68k-linux/2.5.8/include/va-pa.h
-rwxr-xr-x roman/wheel  4045 May 14 16:58 1994 m68k-linux/2.5.8/include/va-pyr.h
-rwxr-xr-x roman/wheel  2807 May 14 16:58 1994 m68k-linux/2.5.8/include/va-sparc.h
-rwxr-xr-x roman/wheel  1662 May 14 16:58 1994 m68k-linux/2.5.8/include/va-spur.h
-rw-r--r-- roman/wheel  4779 May 14 16:58 1994 m68k-linux/2.5.8/include/varargs.h
-rwxr-xr-x roman/wheel 224447 Nov 30 10:39 1994 m68k-linux/2.5.8/ld
-rwxr-xr-x roman/wheel  36093 May 13 18:18 1994 m68k-linux/2.5.8/nm
-rwxr-xr-x roman/wheel  21696 May 13 18:18 1994 m68k-linux/2.5.8/size
-rw-r--r-- roman/wheel    966 May 14 16:56 1994 m68k-linux/2.5.8/specs
-rwxr-xr-x roman/wheel  24063 May 13 18:18 1994 m68k-linux/2.5.8/strip
-rwxr-xr-x roman/wheel 212710 Nov 30 11:06 1994 m68k-linux/2.5.8/as
-rwxr-xr-x roman/wheel 1120065 Nov 30 11:06 1994 m68k-linux/2.5.8/cc1
-rwxr-xr-x roman/wheel 1456078 Nov 30 11:06 1994 m68k-linux/2.5.8/cc1plus
-rwxr-xr-x roman/wheel   87345 Nov 30 11:06 1994 m68k-linux/2.5.8/cpp


To compile the Linux/68k kernel with this cross compiler, I use the
following MakeVars. Adjust to your needs:

----------------------------------------------------------------------

# MakeVars for 680x0 Linux
#
# Copyright 1993 by Hamish Macdonald
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file "README.legal" in the main directory of this archive
# for more details.

CROSSDIR = /usr/lib/gcc-lib/m68k-linux/2.5.8/

HOSTCC		 = gcc -bm68k-tos
CC			 = gcc -bm68k-linux -D__KERNEL__
AS		     = $(CROSSDIR)as
CPP		     = $(CC) -E
LD		     = $(CROSSDIR)ld
KERNELHDRS	 = /home/roman/src/linux-home/include
INCFLAGS	 = -I$(KERNELHDRS)
CFLAGS		 = -Wall $(INCFLAGS) -O2 -fomit-frame-pointer -m68030 \
               -Wstrict-prototypes 
ifdef CONFIG_CPP
CFLAGS := $(CFLAGS) -x c++
endif
ASINCS		 = $(INCFLAGS) -O2
HOSTINCFLAGS = -Dlinux -I$(KERNELHDRS)
HOSTFLAGS	 = -m68030 -m68881 -O2 -fno-defer-pop -Wall $(HOSTINCFLAGS)
LDFLAGS 	 = -Ttext 0xC0001000
AR		     = $(CROSSDIR)ar
RANLIB		 = test

.c.o:
	$(CC) $(CFLAGS) -c -o $*.o $<
.S.o:
	$(CC) $(ASINCS) -c -o $*.o $<


----------------------------------------------------------------------

Roman (rnhodek@cip.informatik.uni-erlangen.de)
