Xref: news2.mv.net comp.os.msdos.djgpp:5091 comp.unix.programmer:19421 From: brian AT tcpip DOT geek DOT net (Brian Mitchell) Newsgroups: comp.unix.programmer,comp.os.msdos.djgpp Subject: Re: best UNIX-->DOS porting compiler? Date: 17 Jun 1996 15:52:17 GMT Organization: Saturn Internet - ISP Lines: 33 Message-ID: <4q3uvh$ntu@titan.saturn.net> References: <4q3ce3$o77 AT agate DOT berkeley DOT edu> Reply-To: brian AT saturn DOT net NNTP-Posting-Host: tcpip.geek.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 17 Jun 1996 10:35:47 GMT, Allen Pouratian wrote: >I am porting a Unix (Linux) application to DOS so I can run it under >a DOS shell under Windows 3.11. Have I chosen the easiest path for porting >by using Turbo C++ 3.0, or am I better off with another compiler? > >1) Does gcc for dos exist? Does the package come with the appropriate > suite of unix like utilities? Yes, as you are well aware of, since you reference it in #2. I don't know of any other ports besides DJGPP though. What sort of utilities do you need? > >2) Can I run DJGPP programs under a Win3.1 shell? How bout a Win95 > or a WinNT shell? It might in Real mode 3.1 (is that still supported?) but if win 3.1 goes into pmode, I'm almost 100% sure that djgpp compiled programs will not work. > >3) Would Windows compilers like MSVC or Borland C++ for windows ease > my porting pains? (Mostly getting a shareware tiff library written > with ANSI C working). > I think it depends on the specific program. If it is a X based program, the windows interface might very well simplify things. -- Brian Mitchell brian AT saturn DOT net Unix Security / Perl / WWW / CGI http://www.saturn.net/~brian "I never give them hell. I just tell the truth and they think it's hell" - H. Truman