www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/12/08:30:20

From: "Ed Manlove" <emanlove AT ieee DOT org>
Newsgroups: comp.os.msdos.djgpp
References: <k35I9.902$GS6 DOT 289342601 AT news DOT netcarrier DOT net> <asqp65$a5i$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <9cGI9.916$Iu DOT 294919215 AT news DOT netcarrier DOT net> <at1v92$l85$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <bS9J9.926$Sp2 DOT 296869941 AT news DOT netcarrier DOT net> <at4jd0$4as$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Subject: Re: System headers for DJGPP hosted cross compiler
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <PB%J9.941$GO3.301375503@news.netcarrier.net>
Date: Thu, 12 Dec 2002 08:20:29 -0500
NNTP-Posting-Host: 207.207.243.203
X-Complaints-To: news AT netcarrier DOT com
X-Trace: news.netcarrier.net 1039697391 207.207.243.203 (Thu, 12 Dec 2002 07:49:51 EST)
NNTP-Posting-Date: Thu, 12 Dec 2002 07:49:51 EST
Organization: NetCarrier Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> wrote in message
news:at4jd0$4as$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
> Ed Manlove <emanlove AT ieee DOT org> wrote:
>
> > It sounds as if you are suggesting using the GNU gcc source code and not
> > what I call the DJGPP gcc source code.
>
> Not really.  What I wanted to suggest is that you'll have to go even
> further, making additional modifications to the sources, similar to
> those that take the GNU version to the DJGPP version.  You need sort
> of an "even more DJGPP" gcc source tree.  The underlying issue being
> that I don't think those parts of the source tree not used as part of
> a native build are likely to have been adapted to DJGPP, ever.  So
> you'll have to do that.
>
> I haven't looked at the way the DJGPP source code is currently
distributed,
> but at least at some point, you had three possibilities:
>
> 1) get only those sources needed to build the DJGPP native toolchain
> 2) get the full sources, already modified so the DJGPP native build works
> 3) get the original GNU sources, and a set of patch files and instructions
>    that will turn them into the DJGPP version
>
> You'll almost certainly have to inspect those patches used in variant 3)
> closely, and carefully check if any similar modifications are necessary in
> those parts of the build process that the native build doesn't use.
>
> If all else fails, you may even have to consider a "canadian cross"
> build, ie. build GCC on Linux or wherever, with DJGPP as the host
> system and your actual target platform as the target.
>
> > use the DJGPP source code.  I am really hoping to use this code branch.
And
> > configure/build instructions are fairly similar.
>
> "Fairly similar" is not enough.  Every tiny difference is there for a
> reason, which you will have to understand and possibly extrapolate
> into new, as yet unused areas of the code tree.
>
> Either way, it's not the "instructions" that you'll have to check as
> much as the actual scripts ('configure', and whatever others it calls)
> and configuration files.
> --
> Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)

This is is good news and the direction to check the patches is helpful.  I
am looking throught it now.  Thanks for the help.

Ed



- Raw text -


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