delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/27/16:33:20

From: tj AT mbox303 DOT swipnet DOT DONOTSPAM DOT se (Tomas)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Cross-compiling DOS-to-Unix ?
Date: Tue, 27 Jan 1998 20:32:52 GMT
Organization: A customer of Tele2
Lines: 20
Message-ID: <34d74451.1735386@nntpserver.swip.net>
References: <34ceb76e DOT 8238831 AT nntpserver DOT swip DOT net>
Reply-To: tj AT mbox303 DOT swipnet DOT DONOTSPAM DOT se
NNTP-Posting-Host: nn1.swip.net
Mime-Version: 1.0
Cache-Post-Path: nn1!s-308632 AT dialup144-2-47 DOT swipnet DOT se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>> (The DJGPP FAQ only mentions Unix-to-DOS and DOS-to-Motorola)
>
>That's because it is usually much easier to install GCC on the Unix
>system and use it there than to set up DJGPP as a cross-compiler for a
>Unix target.
>
>Why can't you use DJGPP to develop the code and compile it without
>linking (so it is free of any compile-time problems), then move the
>code to the Unix box where you install GCC and compile, link and debug
>it there?

Well, I guess I can do that, (and I guess I will have to).
I just thought it seemed kind of convenient to compile the cgi-program
on my harddrive, and then FTPing the binary to the server, instead of
uploading the source code and then telnetting and compiling.
I know, telnet isn't that difficult, and the major reason for my
interest about the cross-compiling was curiosity about whether it is
possible or not.

/ Tomas /

- Raw text -


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