Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Program won't work in DOS environment
Name: Mike Date: March 27, 2001 at 19:40:10 Pacific
Comment:
I just compiled a program using linux(gcc) and went ahead to rename it *.exe, tried to run it under DOS but it keeps on giving a fatal error. Is it that programs compiled in linux don't work with DOS or what?
Name: Mik Date: March 28, 2001 at 00:42:09 Pacific
Reply:
You got it! Dos and linux are two totally different operating systems. So an executable created in one OS will not work in the other OS. In linux there are emulators to run dos programs, however I don't know of any emulators that will run linux programs in dos. If you want to run the same program in Dos. First of all make sure your code is OS independent. Then get a compiler for dos and make a dos executable using the same code.
Mik
0
Response Number 2
Name: Apple Date: March 29, 2001 at 14:44:45 Pacific
Reply:
Do a google search for djgpp. It's the DOS version of gcc. It doesn't have sockets, vgalib or anything like that but it will let you write 32-bit, flat memory programs using DPMI. I believe the entire download is about 6 - 8 Mb split into several files.
Summary: i can't get mandrake 9.1 to detect my netgear wireless USB Adapter.... Won't that work in mandrake?? if it does how can i get it to work?? thanks take care timalan ...
Summary: i doubt that your modem is linux compatible. you can check at http://www.aztech.com/drivers_main.htm to see if there are any drivers for red hat, but the chances are that you won't find any. this i...
Summary: Linux can be such a pain if you don't know what you're doing and I think that applies to lots of us. I have Linux 6.1 on a seperate partition on my HD so I can go to it or Windows 98 at will. Anyway a...