Hello Rugxulo,

This is interesting --- thanks! For my part, I found that `wcl' with `-l=com' does indeed work on my machine.

Apparently `wcl -l=com' will actually pass `system com' (instead of `format dos com') to `wlink'. I am not sure how `format dos com' works (if it is supposed to work).

Thank you!

--
https://github.com/tkchia

On 07/11/2018 10:15 PM, Rugxulo wrote:
Hi,

On Wed, Jul 11, 2018, 6:29 AM David McMackins <cont...@mcmackins.org> wrote:

I'm trying to link a program as a COM executable, but when I add the
"format DOS COM" directive to the linker, it complains that libraries
aren't available (such as clibs.lib). It works fine and produces an EXE
if I leave out this directive. What's really happening?


Try "wcl -bt=dos -l=com".

IIRC, tiny and small share libs, only the startup code is different.





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to