delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/05/13:30:10

NNTP-Posting-Date: Tue, 05 Nov 2002 12:26:31 -0600
From: Charles Wilkins <chas AT pcscs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: cross compiler setup question
Date: Tue, 05 Nov 2002 13:28:22 -0500
Message-ID: <283gsu4cif5agk80cab1sge47c05rp2414@4ax.com>
X-Newsreader: Forte Agent 1.92/32.570
MIME-Version: 1.0
Lines: 32
X-Trace: sv3-Z7gSOpyciKMX8007BSexh1ZunNNODKPqRsNtxuwgq5ic+YKU8D6ZVTdyoex4hTp00xSKQi+zHQB6RTH!Pl8L85WGgRdazKHu7w+cwSJJc2wibEiAhKecQnsQ2qiga21wjEL1VYo66JdrMyybWWqVlTA=
X-Complaints-To: abuse AT comcast DOT com
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Greetings,

I am somewhat new to the concept of cross compiling, but I have a
clear idea of what I want to accomplish.  Hopefully somebody here can
help me by answering a couple questions.

My development system is Linux Mandrake.  I have gcc-3.2 installed and
I am able to compile C++ source and execute the binaries on my system.
I am not new to installing and compiling kernels as well as various
sourceware packages including building and installing new versions of
the gcc native compilers for use on my system.

What must I do to be able to create binaries on my current development
system that will run under MS-DOS?  A clear, detailed, answer would be
most helpful. 

I have done quite a bit of reading, including these FAQs,
http://www.objsw.com/CrossGCC/
http://www.delorie.com/djgpp/v2faq/
http://gcc.gnu.org/install/

but where I get confused is when the discussion refers to cross
compiling in the context of building the cross compiler for use on
another platform versus just creating the binaries for use on an
alternative platform.

At the moment I do not want to build a compiler that will run on a
different platform, I simply want to create DOS compatible binaries
from my Linux development system.

Thanks in advance for any help,
Charles Wilkins

- Raw text -


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