From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12487 invoked by alias); 2 Oct 2012 13:09:08 -0000 Received: (qmail 12376 invoked by uid 22791); 2 Oct 2012 13:09:07 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,KHOP_SPAMHAUS_DROP,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Oct 2012 13:09:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 57BB31C7B90; Tue, 2 Oct 2012 09:09:02 -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 rl7UdCS5qCBg; Tue, 2 Oct 2012 09:09:02 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8847B1C7B8F; Tue, 2 Oct 2012 09:09:01 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id C351FC562A; Tue, 2 Oct 2012 15:08:54 +0200 (CEST) Date: Tue, 02 Oct 2012 13:09:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: Doug Evans , Meador Inge , gdb@sourceware.org Subject: Re: Using Py_SetPythonHome Message-ID: <20121002130854.GL30746@adacore.com> References: <50511945.2070400@codesourcery.com> <20120917170657.GB5716@adacore.com> <20120917174611.GA27891@host2.jankratochvil.net> <20120919080410.GA12296@host2.jankratochvil.net> <20120921153645.GD5439@adacore.com> <20120921154345.GA30615@host2.jankratochvil.net> <20120921155758.GE5439@adacore.com> <20120921172735.GA4341@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120921172735.GA4341@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-10/txt/msg00017.txt.bz2 > I have discovered now that default build of GCC really uses something like > relocate_gdb_directory for its own components (like cc1), it does not use > constant compiled-in path like normal applications do. This justifies > relocate_gdb_directory for the default build of GDB, it was not clear to me. > This also means GCC is violating standard system packaging practices. I am starting to see where you are coming from. GCC has had this feature longer than GDB, IIRC. And to me, this is not violating "standard system packagainng practices" (please point me to a document that would claim to explain what the standard practices are), but providing a very important feature, which, if not standard, definitely should be (IMO). If I have built a tool somewhere with a given prefix, and then I want to install a copy somewhere else, it would be a real pain in the neck to have to rebuild it. Going back to the actual subject of this discussion, would it cause a problem to call Py_SetPythonHome in your situation where everything is static and installed at the default location? -- Joel