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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b1ea382 · Aug 1, 2023

History

7 Commits
Jan 3, 2023
Oct 5, 2022
Jan 3, 2023
Oct 5, 2022
Oct 5, 2022
Oct 5, 2022
Oct 5, 2022
Jan 3, 2023
Oct 5, 2022
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Mar 5, 2023
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Jan 3, 2023
Oct 5, 2022
Oct 5, 2022
Oct 5, 2022
Nov 25, 2022
Oct 5, 2022
Oct 5, 2022
Jan 3, 2023
Oct 5, 2022

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