bencz / cobol-pc86

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

License:GNU General Public License v3.0


Languages

Language:COBOL 48.5%Language:C 48.2%Language:Shell 1.7%Language:Assembly 1.5%Language:GDB 0.0%