Mail Archives: djgpp/1996/11/19/22:46:04
Weiqi Gao wrote:
>
> Thierry DELATTRE <delathie AT skynet DOT be> wrote in article
> <328f2575 DOT 13493716 AT news2 DOT skynet DOT be>...
> > Hi,
> > I don't know exactly djgpp.
> > I need to compile a C source written on my msdos based PC and
> > get a EXE files to run on a UNIX based PC (my provider HD)
> > Is this possible with DJGPP and what programs do I need to do this?
>
> No.
Actually, if your source is more algorithm-oriented (no PC
hardware stuff like ports and such), and you stick to the ANSI C
and you use DJGPP, there is a high chance that you will be able
to port it to any Unix machine (if gcc is installed).
Of course you will need to recompile the source and get a new
executable for every platform, but it will work.
GCC is the GNU C compiler for Unixes. DJGPP is the GCC port to DOS.
So DJGPP is very compatible with gcc, if you remeber what I said above.
Laurentiu
--
---------------------------------------------------------------------
| Laurentiu Badea, bytemare AT lmn DOT pub DOT ro |
| student at PUB, |
| Computer Science Dept. http://www.lmn.pub.ro/~bytemare/ |
---------------------------------------------------------------------
- Raw text -