473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 3041
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.