Annotation of Net2/arch/amiga/recompile, revision 1.1

1.1     ! root        1: How to recompile (under AmigaDOS)
        !             2: ---------------------------------
        !             3: 
        !             4: You need a fairly complete unix programming environment. You also need 
        !             5: gcc, I don't think any of the commercial compilers could recompile the
        !             6: kernel. The central configuration directory is sys/arch/amiga/conf. CD
        !             7: there, and take a look at the file AMIGA. Things you might change in
        !             8: this file are:
        !             9: 
        !            10: timezone:      change to your timezone.
        !            11: 
        !            12: options:       comment out modules you don't need, to make the kernel
        !            13:                smaller. Good candidates for exclusion are probably
        !            14:                the ISOFS (CD filesystem), ISO and TPIP (implement OSI
        !            15:                sockets). PCFS is entirely untested, so you might 
        !            16:                get rid of it as well.
        !            17: 
        !            18: config:                this is a vital line, it tells BSD where to find the
        !            19:                root filesystem and the swap partition. The device
        !            20:                name is composed of `sd', which is the disk driver,
        !            21:                the unit number (6 in the distributed file), and the
        !            22:                partition (A==root).
        !            23: 
        !            24: disk:          make sure there's an entry for your SCSI unit, the
        !            25:                kernel as distributed supports drives at units 0, 1 and
        !            26:                6.
        !            27: 
        !            28: tape:          if you don't have a tape drive, you can remove those
        !            29:                entries, and save some space in the kernel.
        !            30: 
        !            31: pseudo-device: you can safely remove `sl' and `bpfilter', please don't
        !            32:                remove `ite', or you'll end up without a console...
        !            33: 
        !            34: 
        !            35: When you're happy with the config file, you have to run it thru the
        !            36: config program. config is included in the bin directory of this
        !            37: distribution, together with the loader. In sys/arch/amiga/conf, do
        !            38: 
        !            39:   config AMIGA
        !            40: 
        !            41: After a moment, config reminds you to do a make depend, well, you can't,
        !            42: there's no mkdep at the moment;-) Just make sure all object files of
        !            43: previous runs are removed, then `make', and cross fingers. The make
        !            44: process will need some binaries found in the bin directory of this
        !            45: distribution, so add bin to your PATH before starting the compilation.
        !            46: 
        !            47: The distributed console bitmap font is *UGLY*. I'd strongly suggest
        !            48: you CD to sys/arch/amiga/stand/dumpfont, and generate a new font source
        !            49: file containing the topaz.font of AmigaOS. This looks *much* nicer
        !            50: than the free Mach font, but since it is part of AmigaOS, it is 
        !            51: owned by Commodore, and may not be redistributed, you'll have to regenerate
        !            52: it, sorry.  Dumpfont will output a new source file to stdout.  Redirect
        !            53: this output to a file, and then copy it to sys/arch/amiga/dev/kernel_font.c.
        !            54: If you can't get dumpfont working on your system (or if you're 
        !            55: crosscompiling from a non-amiga system), copy the ugly 
        !            56: sys/arch/amiga/dev/kernel_font.c.distrib to sys/arch/amiga/dev/kernel_font.c 
        !            57: instead.
        !            58: 
        !            59: If you run into problems recompiling, configuring, etc. first try to
        !            60: find a solution yourself. I would prefer to work on BSD than to answer
        !            61: tons of email, but if you're really stuck, you can reach me at [email protected].
        !            62: 
        !            63: -Markus Wild

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.