From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20348 invoked by alias); 20 Oct 2010 14:20:57 -0000 Received: (qmail 20338 invoked by uid 22791); 20 Oct 2010 14:20:57 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Oct 2010 14:20:52 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 1B828CB0253; Wed, 20 Oct 2010 16:20:50 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KE+vj+auAFmu; Wed, 20 Oct 2010 16:20:50 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 0973FCB021A; Wed, 20 Oct 2010 16:20:49 +0200 (CEST) Subject: Re: gdb darwin target on Linux host? Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <20101020135306.9C60531366@nx.neverkill.us> Date: Wed, 20 Oct 2010 14:20:00 -0000 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <455D00D6-4418-4B70-808B-37A9810F4F43@adacore.com> References: <20101020135306.9C60531366@nx.neverkill.us> To: Peter Steiner 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: 2010-10/txt/msg00075.txt.bz2 On Oct 20, 2010, at 3:52 PM, Peter Steiner wrote: > Hi >=20 > I try to compile a darwin-target gdb running on a Linux host: >=20 > ./configure --prefix=3D/usr/local/gdb --target=3Dx86_64-darwin >=20 > this works up to the end of configure & make however does NOT generate a > gdb binary! After make install the bin directory is empty and NO gdb > binary has been linked at all. >=20 > if I do: >=20 > ./configure --prefix=3D/usr/local/gdb --target=3Di386-darwin >=20 > this creates a gdb binary however it cannot read 64bit binaries from > darwin. Any idea what is wrong? Could you post the log messages ? I suppose that if no binary is built, th= en an error has occurred. Not sure why you try to build such a tool, as it would be basically useless= to debug.