www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/17/19:29:35

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I compile a msdos source to unix exe ?
Date: Sun, 17 Nov 1996 12:39:00 -0800
Organization: Alcyone Systems
Lines: 25
Message-ID: <328F77E4.50CD3829@alcyone.com>
References: <328f2575 DOT 13493716 AT news2 DOT skynet DOT be>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thierry DELATTRE wrote:

>     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
> ?

You could use some sort of cross-compiler and generate the executable that
way.

I think that's going to be far too much work than is necessary, though.
Write your code in ANSI C, upload it to your home directory on your
provider's system, and then compile it with gcc there.

That's the advantage of using DJGPP -- you become familiar with the gcc
command line interface, which makes it painless to start compiling things
under Unix (because you've already been using the same program!).

-- 
                             Erik Max Francis | max AT alcyone DOT com
                              Alcyone Systems | http://www.alcyone.com/max/
                         San Jose, California | 37 20 07 N 121 53 38 W
                                 &tSftDotIotE | R^4: the 4th R is respect
         "But since when can wounded eyes see | If we weren't who we were"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019