cross compiling from linux to dos
hello i was wondering if anyone knew how to cross compile from linux for dos/win95. i wrote a lot of c code using the curses.h library and it does not port to borland or turbo c. is there some way i can tell gcc to compile it for a different operating system?? any illumination would be appreciated. thanx rohit -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cross compiling from linux to dos
On Tue, 7 Apr 1998, Rohit Mehta wrote: hello i was wondering if anyone knew how to cross compile from linux for dos/win95. i wrote a lot of c code using the curses.h library and it does not port to borland or turbo c. is there some way i can tell gcc to compile it for a different operating system?? You might try djgpp, which is more gcc-like than the Borland products. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] http://www.primenet.com/~nielsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cross compiling from linux to dos
hello i was wondering if anyone knew how to cross compile from linux for dos/win95. i wrote a lot of c code using the curses.h library and it does not port to borland or turbo c. is there some way i can tell gcc to compile it for a different operating system?? The README and INSTALL files have instructions about it. You should be able to compile to *any* gcc-supported OS (see http://gnu.internexus.net/software/gcc/gcc.html#versionplatforms), as well as to the cygwin32 compatibility dll (http://www.cygnus.com./misc/gnu-win32/) and to DJGCC (http://www.delorie.com/djgpp/). Leandro GuimarĂ£es Faria Corcete Dutra [EMAIL PROTECTED] BRASILhttp://www.lge.com.br./ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]