Compiling for dos from linux?
Scott Howard
scott@objsw.com
Sat Jan 30 19:04:00 GMT 1999
Hi,
yes, you can do it. The place to start is the crossgcc FAQ,
http://www.objsw.com/CrossGCC .
If you configure and build binutils, gcc-2.8.1, and newlib-1.8.0 for an
'i386-go32-msdos' target, you will have a cross compiler that generates
executables for DJGPP version 1. This should cover your needs quite
well.
If you have more questions or need further info, please don't hesitate
to post them to the mailing list.
Scott
EverPresent wrote:
>
> Ok, I've never worked with cross compiling before but I believe my
> problem falls under this catagory. I already looked at the FAQ (old and
> new) and didn't find the info I needed.
> The problem is that I'm taking a C language class (mandatory) but the
> instructor wants our programs complied (for dos/win). Since I don't use
> dos or windoze anymore this is a problem.
> Can anyone give me some information on compiling dos programs under
> linux, or at least point me in the right direction?
>
> Thanks!
> Tim
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list