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> |
Subject: | Re: target_alias set incorrectly by configure in DJGPP-to-cross cross compiler build |
Lines: | 59 |
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: | <DqML9.975$Us.312144933@news.netcarrier.net> |
Date: | Tue, 17 Dec 2002 16:43:17 -0500 |
NNTP-Posting-Host: | 207.207.243.21 |
X-Complaints-To: | news AT netcarrier DOT com |
X-Trace: | news.netcarrier.net 1040159523 207.207.243.21 (Tue, 17 Dec 2002 16:12:03 EST) |
NNTP-Posting-Date: | Tue, 17 Dec 2002 16:12:03 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 |
> > gcc 2 is soon to be obsolete. 3.2 is the latest gcc release. Does > > this still occur there? > > > > There has been talk of moving over to 3.2 for our project (brickOS, an > alternative operating system for the Lego Mindstorms RCX Controller > http://brickos.sourceforge.net/) but I have yet tried to build the cross > compiler for 3.2. I will look into it. > It appears to do the same thing with gcc-3.2 as seen here. # Default native SYSTEM_HEADER_DIR, to be overridden by targets. NATIVE_SYSTEM_HEADER_DIR = /usr/include # Default cross SYSTEM_HEADER_DIR, to be overridden by targets. CROSS_SYSTEM_HEADER_DIR = $(build_tooldir)/sys-include # autoconf sets SYSTEM_HEADER_DIR to one of the above. SYSTEM_HEADER_DIR = $(CROSS_SYSTEM_HEADER_DIR) # Control whether to run fixproto and fixincludes. STMP_FIXPROTO = stmp-fixproto STMP_FIXINC = stmp-fixinc # Test to see whether <limits.h> exists in the system header files. LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/limits.h ] target=h8300-hitachi-hms target_alias=djgpp xmake_file= /djgpp/gnu/gcc-3.2/gcc/config/i386/x-djgpp tmake_file= /djgpp/gnu/gcc-3.2/gcc/config/h8300/t-h8300 /djgpp/gnu/gcc-3.2/gcc/config/t-install-cpp 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? Ed
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |