From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29139 invoked by alias); 7 Jan 2010 16:43:32 -0000 Received: (qmail 29123 invoked by uid 22791); 7 Jan 2010 16:43:32 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Jan 2010 16:43:27 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o07Gdau9017051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Jan 2010 11:40:07 -0500 Received: from [10.36.7.204] (vpn1-7-204.ams2.redhat.com [10.36.7.204]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o07GbbR4005764; Thu, 7 Jan 2010 11:38:32 -0500 Message-ID: <4B460DD1.8080209@redhat.com> Date: Thu, 07 Jan 2010 16:43:00 -0000 From: Nick Clifton User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Masaki Muranaka CC: gdb-patches@sourceware.org, binutils@sourceware.org, Thiemo Seufer Subject: Re: Can't build mips-elf-run on OSX References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00141.txt.bz2 Hi Masaki, > It is required config.h by bfd/sysdep.h. This should be bfd/config.h. > But gcc (at least apple's genuine build) includes sim/mips/config.h. > So definitions in bfd/config.h like HAVE_DECL_STPCPY is not defined. This sounds like a problem with the configure script in the sim/mips directory - presumably it should be including a check of the stpcpy function. > To begin with, sim/mips/interp.c needs bfd/sysdep.h? > I could built interp.c successfully without bfd/sysdep.h on my environment. Me too - so it would appear to be unnecessary. Please note however that I cannot approved such a change - you need a GDB maintainer for that. Thiemo is listed as the sim/mips maintainer... Cheers Nick