[Lazarus] Lazarus DOS support: success + exeinfo "problem" & debugging

Reinier Olislagers reinierolislagers at gmail.com
Wed Oct 23 10:43:39 CEST 2013

I've finally managed to get my fpcup win32=>DOS crosscompiler generator
going[1] and am now turning to Lazarus.

After applying the patch in 25220: Support for OS msdos/CPU i8086
I tried opening a simple project with a console mode program:
set target to msdos/i8086.

Compiling, I get missing units:
lineinfo.pp(30,3) Fatal: Can not find unit exeinfo used by lineinfo.

Command line compile worked fine.
After some thinking, the penny dropped: there's no debug support for the
dos cross compiler, and switching off the debugging/-g project options

Is there any simple way to indicate debugging is not available for a
certain platform or do we just have to remember (which is more than fine
by me)?


[1] See wiki article:

More information about the Lazarus mailing list