From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1eoxvq-0007lx-Ty for ptxdist@pengutronix.de; Thu, 22 Feb 2018 21:57:35 +0100 Received: by mail-qt0-x229.google.com with SMTP id d26so8073779qtj.4 for ; Thu, 22 Feb 2018 12:57:34 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180222203409.teh2ugnegphvp2dt@pengutronix.de> References: <20180222203409.teh2ugnegphvp2dt@pengutronix.de> From: Jon Ringle Date: Thu, 22 Feb 2018 15:57:32 -0500 Message-ID: Subject: Re: [ptxdist] gdb python support List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0451547969==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0451547969== Content-Type: multipart/alternative; boundary="089e0822ae44ef5cd90565d34a1b" --089e0822ae44ef5cd90565d34a1b Content-Type: text/plain; charset="UTF-8" On Thu, Feb 22, 2018 at 3:34 PM, Michael Olbrich wrote: > Hi, > > On Thu, Feb 22, 2018 at 02:05:03PM -0500, Jon Ringle wrote: > > 3) I have `python-dev` package installed > > This should probably be python3-dev > > Ok > > 4) rules/cross-gdb.make has the following, but I do not have > > CROSS_GDB_WITHOUT_PYTHON set at all in my environment: > > Are you using build_all_v2.mk or build_one.sh? Then > CROSS_GDB_WITHOUT_PYTHON is set to 'y' by default. > > Ok. I see that there now. It would be nice if this default was consistent. Reading the `cross-gdb.make` it appears that the default is with python, but the `build_all_v2.mk` has the default the opposite. Can we pick a default and stick to it? Also. At this point, do I need to rebuild my whole toolchain again to get a cross-gdb with python support, or can I get away with just doing: $ ./p clean cross-gdb $ CROSS_GDB_WITHOUT_PYTHON=n ./build_one.sh arm-v5te -Jon --089e0822ae44ef5cd90565d34a1b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On T= hu, Feb 22, 2018 at 3:34 PM, Michael Olbrich <m.olbrich@pengutroni= x.de> wrote:
Hi,

On Thu, Feb 22, 2018 at 02:05:03PM -0500, Jon Ringle wrote:
> 3) I ha= ve `python-dev` package installed

This should probably be python3-dev

Ok
=C2=A0
> 4) rules/cross-gdb.make has the following, but I do not have
> CROSS_GDB_WITHOUT_PYTHON set at all in my environment:

Are you using build_all_v2.mk or build_one.sh? Then
CROSS_GDB_WITHOUT_PYTHON is set to 'y' by default.


Ok. I see that there now. It would be = nice if this default was consistent. Reading the `cross-gdb.make` it appear= s that the default is with python, but the `build_all_v2.mk` has the default the opposite. Can we pick a defaul= t and stick to it?

Also. At this point, do I need = to rebuild my whole toolchain again to get a cross-gdb with python support,= or can I get away with just doing:
$ ./p clean cross-gdb
$ CROSS_GDB_WITHOUT_PYTHON=3Dn ./build_one.sh arm-v5te

-Jon

--089e0822ae44ef5cd90565d34a1b-- --===============0451547969== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0451547969==--