delorie.com/archives/browse.cgi | search |
From: | "Ed Manlove" <emanlove AT ieee DOT org> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | target_alias set incorrectly by configure in DJGPP-to-cross cross compiler build |
Lines: | 35 |
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: | <2CKL9.971$3p.311942189@news.netcarrier.net> |
Date: | Tue, 17 Dec 2002 14:41:01 -0500 |
NNTP-Posting-Host: | 207.207.243.129 |
X-Complaints-To: | news AT netcarrier DOT com |
X-Trace: | news.netcarrier.net 1040152062 207.207.243.129 (Tue, 17 Dec 2002 14:07:42 EST) |
NNTP-Posting-Date: | Tue, 17 Dec 2002 14:07:42 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 |
Looking over the results of configure for a DJGPP-to-h8300 cross compiler there appears to be an issue with the setting of the target_alias. Within the file \gnu\gcc-2.952\build.djg\gcc\Makefile I have the following lines # There may be a premade insn-attrtab.c for this machine. # (You could rebuild it with genattrtab as usual, but it takes a long time.) # PREMADE_ATTRTAB is the file name of the file to use. # PREMADE_ATTRTAB_MD is the md file it corresponds to. PREMADE_ATTRTAB_MD = Makefile # Guaranteed not to cmp equal to md. PREMADE_ATTRTAB = target=h8300-hitachi-hms target_alias=djgpp xmake_file= /djgpp/gnu/gcc-2.952/gcc/config/i386/x-djgpp tmake_file= /djgpp/gnu/gcc-2.952/gcc/config/h8300/t-h8300 /djgpp/gnu/gcc-2.952/gcc/config/t-install-cpp So even though I specify within my configure script the target as being h8300-hitachi-hms, the target alias is set at djgpp. This appears to be incorrect. What further concerns me is the code to set the target alias for djgpp (found in \gnu\gcc-2.952\config\mh-djgpp) is inlayed twice into the above mentioned makefile; once before this output and once after. So even if I hand change the target alias to h8300-hitachi-hms I am not quite sure the makefile is setting it back again? Also why does mh-djgpp search target_alias for -pc-msdosdjgpp and not search just target? Ed -- Ed Manlove emanlove AT eclipse DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |