From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22713 invoked by alias); 5 Feb 2003 22:48:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22675 invoked from network); 5 Feb 2003 22:48:56 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by 172.16.49.205 with SMTP; 5 Feb 2003 22:48:56 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6/8.12.5) with ESMTP id h15MmO2H000432; Wed, 5 Feb 2003 23:48:24 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6/8.12.6) with ESMTP id h15MmOAr001821; Wed, 5 Feb 2003 23:48:24 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6/8.12.6/Submit) id h15MmNsj001818; Wed, 5 Feb 2003 23:48:23 +0100 (CET) Date: Wed, 05 Feb 2003 22:48:00 -0000 Message-Id: <200302052248.h15MmNsj001818@elgar.kettenis.dyndns.org> From: Mark Kettenis To: kewarken@qnx.com CC: gdb-patches@sources.redhat.com In-reply-to: <1dfb01c2cd5c$b2cf98b0$0202040a@catdog> (kewarken@qnx.com) Subject: Re: patch to add QNX NTO i386 support References: <1c3601c2cbc1$72eac3b0$0202040a@catdog> <86d6m6e9p7.fsf@elgar.kettenis.dyndns.org> <1dfb01c2cd5c$b2cf98b0$0202040a@catdog> X-SW-Source: 2003-02/txt/msg00203.txt.bz2 From: "Kris Warkentin" Date: Wed, 5 Feb 2003 16:22:33 -0500 > The i386-target was "multi-arched" a while ago, which unfortunately > means that your patch will need extensive modification before we can > add it. Don't worry, I'll help you where needed. Funny you should write. This is just what I've been working on for the past few hours. Great! > You should probably use xm-i386.h as your xm.h file. The other stuff > should either be discarded or moved to your nm.h file too. Okay. > I don't think you should try to match x86-*-nto* in configure.host; > the configure.tgt doesn't either. Probably right. We have a chief architect here that insists that i386 is not correct as a generic specifier and, since our uname doesn't tell you 5 or 686, it returns x86. We take care of that mapping in config.guess though so I believe that the x86 part is redundant now. We still build with --target=ntox86 though. Hmm, looking at config.sub it seems that x86 is recognized especially for QNX. Since config.sub doesn't map x86, it's OK to add x86-*-nto* if you want to allow people to build with something like --target=x86-nto. Just make sure you add it to configure.tgt too. Speaking about the ntox86 alias; patches for config.sub should be sent to config-patches@gnu.org. Once they're added to the official CONFIG source we'll import a new version. Mark