From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4803 invoked by alias); 9 Aug 2011 20:52:02 -0000 Received: (qmail 4792 invoked by uid 22791); 9 Aug 2011 20:52:02 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f44.google.com (HELO mail-pz0-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 20:51:47 +0000 Received: by pzk36 with SMTP id 36so602119pzk.3 for ; Tue, 09 Aug 2011 13:51:46 -0700 (PDT) Received: by 10.142.208.6 with SMTP id f6mr105654wfg.264.1312923106468; Tue, 09 Aug 2011 13:51:46 -0700 (PDT) Received: from [192.168.1.3] ([27.47.192.83]) by mx.google.com with ESMTPS id q18sm127045wfq.12.2011.08.09.13.51.41 (version=SSLv3 cipher=OTHER); Tue, 09 Aug 2011 13:51:45 -0700 (PDT) Message-ID: <4E419F38.5070208@gmail.com> Date: Tue, 09 Aug 2011 20:52:00 -0000 From: PcX User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110630 Thunderbird/5.0 MIME-Version: 1.0 To: pmuldoon@redhat.com CC: gdb@sourceware.org Subject: Re: How can I set gdb.python directory on Windows? References: <4E4136C5.1080704@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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-08/txt/msg00026.txt.bz2 于 2011/8/10 4:43, Phil Muldoon 写道: > You can run configure with the --prefix="your/path", or if you wished > you could set gdb.PYTHONDIR directly with python gdb.PYTHONDIR="blah" > > I can't think if case where you want to do this outside of the build > parameter passed to configure, as that is where the Python files will be > installed. Is the --prefix command what you need, or is there another > scenario you have in mind? Thank you. I means after I built a gdb, if I copy it to my friend, his directory may be different from mine. -- Best Regards, PcX