delorie.com/archives/browse.cgi | search |
From: | "Ed Manlove" <emanlove AT ieee DOT org> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <2CKL9.971$3p DOT 311942189 AT news DOT netcarrier DOT net> <200212171950 DOT gBHJo9D23702 AT envy DOT delorie DOT com> <9QKL9.972$0q DOT 311991336 AT news DOT netcarrier DOT net> <DqML9.975$Us DOT 312144933 AT news DOT netcarrier DOT net> |
Subject: | Re: target_alias set incorrectly by configure in DJGPP-to-cross cross compiler build |
Lines: | 49 |
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: | <HiQL9.977$Yz.312549524@news.netcarrier.net> |
Date: | Tue, 17 Dec 2002 21:06:51 -0500 |
NNTP-Posting-Host: | 207.207.244.62 |
X-Complaints-To: | news AT netcarrier DOT com |
X-Trace: | news.netcarrier.net 1040175399 207.207.244.62 (Tue, 17 Dec 2002 20:36:39 EST) |
NNTP-Posting-Date: | Tue, 17 Dec 2002 20:36:39 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 |
> Something else which looks a little mixed up is the following in config.gcc > > i[34567]86-pc-msdosdjgpp*) > xm_file=i386/xm-djgpp.h > tm_file=i386/djgpp.h > tmake_file=i386/t-djgpp > xmake_file=i386/x-djgpp > gnu_ld=yes > gas=yes > exeext=.exe > float_format=none > case $host in *pc-msdosdjgpp*) > target_alias=djgpp > ;; > esac > ;; > > I take this to be system specific information. And what looks cross (pun > intended) is the case statement at the end appears to look for > pc-mosdosdjgpp in the host name and if it is there sets target (not host) > alias as djgpp? A similar case statement appears in gcc-2.952\configure.in. > Should this be? > In a quick dirty test (just deleting the gnu\build.gcc and gnu\gcc-3.2 directories) changing the case statement in gnu\gcc-3.2\gcc\config.gcc to target seems to fix the issue with the target_alias being set to djgpp in the file gnu\build.gcc\gcc\Makefile. Here is a patch, although not fully understanding the gcc cross compiler build process this might break something else. Ed --- config.gcc~ Thu Aug 15 17:40:12 2002 +++ config.gcc Tue Dec 17 20:47:32 2002 @@ -1342,7 +1342,7 @@ gas=yes exeext=.exe float_format=none - case $host in *pc-msdosdjgpp*) + case $target in *pc-msdosdjgpp*) target_alias=djgpp ;; esac
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |