472,811 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,811 software developers and data experts.

Compiler options for 16-bit DOS applications?

Hello,

I like to compile an application with the dmc-compiler as !!!16-bit!!!
MS-DOS application. But I don't know which compiler options I must set. Know
it anyone? Helpfully are also options for the Visual C compiler (cl.exe)

Thank you and sorry for my bad english
Dirk.

Jul 23 '05 #1
4 3023
Okay,

I know. It is: "-mr" instead of "-mn".

CU & THX
Dirk.

"Dirk Lehmann" <ld***@cs.tu-berlin.de> schrieb im Newsbeitrag
news:d6*************@news.t-online.com...
Hello,

I like to compile an application with the dmc-compiler as !!!16-bit!!!
MS-DOS application. But I don't know which compiler options I must set. Know it anyone? Helpfully are also options for the Visual C compiler (cl.exe)

Thank you and sorry for my bad english
Dirk.

Jul 23 '05 #2
Dirk Lehmann wrote:
Hello,

I like to compile an application with the dmc-compiler as !!!16-bit!!!
MS-DOS application. But I don't know which compiler options I must set. Know
it anyone? Helpfully are also options for the Visual C compiler (cl.exe)

Thank you and sorry for my bad english
Dirk.

With DJGPP you can compile 32-bit *DOS* applications. Unless you want to run them on a
16-bit machine (8086, 8088, 80286).

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #3
Ioannis Vranos wrote:
Dirk Lehmann wrote:
Hello,

I like to compile an application with the dmc-compiler as !!!16-bit!!!
MS-DOS application. But I don't know which compiler options I must set.
Know it anyone? Helpfully are also options for the Visual C compiler
(cl.exe)

Thank you and sorry for my bad english
Dirk.

With DJGPP you can compile 32-bit *DOS* applications.


Alternatively there is OpenWatcom. Watcom was a popular compiler among game
programmers in the time of 386/486 systems - mostly for its 32bit DOS
target. But it can also produce 16bit DOS code.
Jul 23 '05 #4

"Dirk Lehmann" <ld***@cs.tu-berlin.de> wrote in message
news:d6*************@news.t-online.com...
I like to compile an application with the dmc-compiler as !!!16-bit!!!
MS-DOS application. But I don't know which compiler options I must set. Know it anyone? Helpfully are also options for the Visual C compiler (cl.exe)


The -ms option (near code, near data) should get you started. For a complete
list of options:

www.digitalmars.com/ctg/sc.html

You can also build 32 bit extended DOS apps with -mx.

Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Allman | last post by:
I'm trying to implement a small WebDAV server using PHP. (WebDAV is an HTTP extension that (among other things) makes it possible to manage files using the HTTP protocol; kinda in the same way...
6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
12
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
2
by: mudge | last post by:
Hi, I'm getting some very strange problems with some C# code. We're running an ASP.NET application on a local server in a DMZ. If I access it using the internal address, the application works...
30
by: lovecreatesbea... | last post by:
K&R says the following in the preface to the first edition, "... the C compiler, and ... are written in C." I'm wondering, does it say even the first / original C compiler was written in C?
33
by: Nikhil Bokare | last post by:
I wanted a C++ compiler which would follow the ANSI C++ standards. If you could tell me an IDE also, it would be more helpful. Thanks.
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
27
by: Dave | last post by:
I'm having a hard time tying to build gcc 4.3.1 on Solaris using the GNU compilers. I then decided to try to use Sun's compiler. The Sun Studio 12 compiler reports the following code, which is in...
2
by: =?Utf-8?B?TUNN?= | last post by:
I am using the compiler: Microsoft.VisualBasic.VBCodeProvider What are the different options I can specify using <providerOption>? So far I have: <system.codedom> <compilers> <compiler...
2
by: meskeleton | last post by:
Hello everyone... I am new to this community so m sorry if this is not the place for this post... I uploaded my site (built in 3.5 framework) to the server which does not have 3.5 but 2.0. I...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.