It's good to know that someone managed to get gnu cobol working on FreeDOS... I figured I was the only one trying this project! I used Debian 12 LXqt, DJGPP and ran it within FreeDOS installed on DOSBOX, but errors are occurring when running the tool... can you help me?

Everaldo



Em 24/02/2024 14:12, Louis Santillan via Freedos-user escreveu:
If you’re ok with a Linux cross compiler, you can add “cobol” here (https://github.com/andrewwutw/build-djgpp/blob/master/script/common-settings#L6) and then build on a Linux box.  Have you tried that?

In Fedora I did,
Invoking:  cobc -gxj --conf=thecopy.con hello.cob
In file included from c:/devel3/include/libcob.h:29,
                 from hello.c:10:
c:/devel3/include/libcob/common.h:779:10: fatal error: exception.def: No such file or directory (ENOENT)
  779 | #include "exception.def"        /* located and installed next to common.h */
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Returning: 1
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to