From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5041 invoked by alias); 19 May 2011 18:51:47 -0000 Received: (qmail 5031 invoked by uid 22791); 19 May 2011 18:51:46 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_CX,TW_DC,TW_JL,T_RP_MATCHES_RCVD 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, 19 May 2011 18:51:27 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4JIpQEm024634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 May 2011 14:51:27 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4JIpOWT026267 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 19 May 2011 14:51:26 -0400 Message-ID: <4DD566AC.6020608@redhat.com> Date: Thu, 19 May 2011 18:51:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: David Paterson CC: "gdb@sourceware.org" Subject: Re: Problem building GDB for sparc-rtems References: <4DD45A0F.4040909@redhat.com> <4DD4E79A.4080404@rtems.org> <4DD4F35B.6030704@rtems.org> <4DD51E93.4030500@oarcorp.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00100.txt.bz2 I want to thank Joe & Ralf for jumping in here with additional expertise, but here's another data point. On 05/19/2011 07:09 AM, David Paterson wrote: > Apart from $PATH being a bit wonky, everything else looks good, so > I'll sort out the path and try again, then move to Linux if I'm having no > joy with that. I have a mingw box with no Visual Studio or Cygwin installed on it. All I did was: $ mkdir sparc-rtems; cd sparc-rtems $ CFLAGS="-ggdb -O0" ../gdb-7.2/configure --prefix=$HOME/built --target=sparc-rtems --disable-sim $ make all-gdb install-gdb and this worked with both the 7.2 tarball and CVS HEAD. [There appear to be build problems with the simulator on MinGW.] FWIW: $ echo $PATH .:/usr/local/bin:/mingw/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDWOS/system32/Wbem:/c/mingw/emacs-23.3/bin $ gcc -v Using built-in specs. COLLECT_GCC=C:\MinGW\bin\gcc.exe COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc vesion 4.5.0 (GCC) I didn't do anything fancy to setup MinGW (which I only use for occasional build testing of Insight); I just followed the instructions on the MinGW homepage. Keith