Hey Eric, nice to meet you!

I tried to find your Email on the web as I saw your name in makefile but I
only found an old one. Thanks for your help, works very well!!

-----Ursprüngliche Nachricht-----
Von: Eric Auer [mailto:[email protected]] 
Gesendet: Montag, 16. Dezember 2013 20:53
An: [email protected]
Betreff: Re: [Freedos-user] Compile mode.com


Hi!

To compile FreeDOS MODE, you need the following:

upx (in any of your PATH directories)
nasm (same)
tcc (Turbo C 2.01, search in the Borland museum / ask Rugxulo) make (also
the old Borland version, I assume)

In theory, it is also possible to compile mode with OpenWatcom C, using
"wcl" instead of "tcc" by editing the makefile accordingly.
However, the makefile says that this has not been tested so far.

FreeDOS also has some other MAKE tools around. You could indeed try GNU MAKE
which comes with DJGPP. However, you cannot compile MODE using the C
compiler of DJGPP itself. You need a compiler which can produce 16bit
binaries, such as Turbo C or OpenWatcom.

Once you have all ingredients simply run "make" in the directory where the
source code is. You can even do without upx, if you comment out that part of
the makefile, but then you get larger binaries in the end.

Regards, Eric

> as I am trying to get a working serial port emulation under DOSEMU I 
> would like to use the freedos version of mode.com . I need to remove 
> the if clause that checks whether the serial port number is invalid 
> (<1 or >4) as I'd like to configure COM5. I found the code in mode.c 
> and changed it but I don't know how to recompile. Makefile said 
> something about nasm so I installed nasm on a virtual DOS machine and 
> did "nasm makefile" but there were a few errors saying "error: label 
> or instruction expected at start of line". Seems like these lines were
comments.


----------------------------------------------------------------------------
--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to