Skip to content

Running COBOL on the wild!? No OS required, works with multiboot

License

Notifications You must be signed in to change notification settings

wxwisiasdf/cobol-pc86

Repository files navigation

********************************************************************************

An OS in COBOL!

********************************************************************************

Make sure you first have a i686 cross compiler.

First obtain a copy of gnucobol, now proceed to copy and paste the libcob
directory over here. Then obtain GMP latest version, your folder structure
should look someting like this:

lmvxsaos/
    libcob/
        ...
    libc/
        ...
    gmp/
        mini-gmp/
        mpz/
        mpf/
        mpn/
        ...

Then compile your gnucobol source code you just downloaded, trust me you won't
want an outdated version!

Afterwards run:
CC=i686-elf-gcc CFLAGS="-ffreestanding -I../libc -L../libc" ./configure --enable-static --host=i686-elf

sh build-libs.sh
To build libraries (only run once).

Afterwards run:
sh build.sh
To build the kernal (requires libcob and libgmp built before).

********************************************************************************

About

Running COBOL on the wild!? No OS required, works with multiboot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published