From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31460 invoked by alias); 13 Sep 2007 18:28:51 -0000 Received: (qmail 31450 invoked by uid 22791); 13 Sep 2007 18:28:51 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Sep 2007 18:28:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4ACEB2AA871 for ; Thu, 13 Sep 2007 14:28:45 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lrO1cOOu07iH for ; Thu, 13 Sep 2007 14:28:45 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 100462AA859 for ; Thu, 13 Sep 2007 14:28:45 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E02B8E7B58; Thu, 13 Sep 2007 11:28:42 -0700 (PDT) Date: Thu, 13 Sep 2007 18:36:00 -0000 From: Joel Brobecker To: gdb@sourceware.org Subject: cross-compile GDB ? Message-ID: <20070913182842.GA3813@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i 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: 2007-09/txt/msg00123.txt.bz2 Hello, I was wondering if anyone had tried cross-compiling GDB. My goal is to build gdbserver for LynxOS 3 from a sparc-solaris machine. Adding native support for LynxOS could take a while, but I think that adding LynxOS support to the gdbserver would allow me to use my version of GDB server. The one that they distribute with LynxOS 3 is too old and doesn't work well with newer versions of GDB (I think). Is that possible at all? Right now, libiberty complains because it is trying to test the compiler on the host by trying to run a small test executable. It suggests to use the --host switch, but doing that didn't help. Thanks, -- Joel