HOW TO COMPILE nucleOS
======================

You need to compile "our" FreePascal compiler (we adjusted it to make it compile 
nucleOS coreect) to compile nucleOS. We use version 1.0.10 of FPC.

    a.) You need a working copy of the official FreePascal compiler: 
        http://www.freepascal.org (version 1.0.10 win32). Make sure to include 
	the path to the win32-binaries in your PATH variable (this step is 
	described at the end of the installation of FPC). For example:
	PATH=%PATH%;C:\pp\bin\win32

    b.) You need a working copy of the Netwide Assmebler: http://nasm.sf.net
        (version 0.98.38-djgpp; the DOS 32bit binaries). You need to add
	the path to your NASM binaries also to your PATH. For example:
	PATH=%PATH%;C:\NASM

    c.) Extract [nucleOS path]\fpc\compiler.zip

    d.) Go to the new created folder and type "mppc386". Now you have got 
        the changed version of FPC (here we have got a problem: You can
	run mppc386 only once :( (It's a problem of the FPC programmers).
	If you want to compile the compiler again, you need to delete all 
	the files in the folder and redownload them from the CVS.

    e.) Copy the ppc386.exe over the official ppc386.exe (in 
        [fpc path]\bin\win32)

    f.) Delete all files in [fpc path]\units\win32\rtl

    g.) Copy all files from [nucleOS path]\fpc\win32 to 
        [fpc path]\units\win32\rtl

    h.) Open the file [nucleOS path]\Makefile and adjust the 3rd line

    i.) Now go to [nucleOS path]\ and type "make all"

    j.) You have got a bochs-disc-image in [nucleOS path]\
   


MrSaint