Compiling Linux kernel under AmigaDOS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi!

I have spend some time on making 68060 support for Linux. Since I couldn't
compile under Linux I had to use ADOS. Since I had a hard time figuring out
how to compile under ADOS, I have collected what I think is needed in
this archive... Speedwise, however, I wish that no-one will ever need this
archive - compiling under Linux is so much faster :)

GCC
~~~
You have to have GCC installed (2.7.0 or newer). Copy the gnu directory of
this archive to your GCC installation.

Add an assignment usr: to your GCC installation (e.g. add "assign usr: gnu:"
to your user-startup).

Make a copy of c:date to bin:sync


Linux
~~~~~
You have to hack a few things. First the Makefile in arch/m68k. You should
insert the lines from Makefile.Hack.ADOS, and delete the original lines
dealing with the variables affected.
This will cause make to use the correct gcc binaries installed above.

Configure doesn't run under ADOS. I simply put some hand-edited config files
at the right places. Check out the examples in the root and in include/linux.


Also, I couldn't make "expr" work properly under ADOS, so I always had to
kill the file ".version" before compiling (use the script "m").


OK, I know that this isn't much of a doc, but hopefully it won't be used (and
if it is "hopefully it'll work" :)


Jesper
