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 worked.
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)?
Thanks
[1] See wiki article:
http://wiki.lazarus.freepascal.org/fpcup
