From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vb0-f44.google.com ([209.85.212.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TteG8-0007U7-SD for ptxdist@pengutronix.de; Fri, 11 Jan 2013 14:02:58 +0100 Received: by mail-vb0-f44.google.com with SMTP id fc26so1388317vbb.31 for ; Fri, 11 Jan 2013 05:02:50 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20130111130036.GC11738@pengutronix.de> References: <201301110940.10949.jbe@pengutronix.de> <13317004.u3s2pIUGrD@dabox> <20130111123054.GB11738@pengutronix.de> <20130111130036.GC11738@pengutronix.de> Date: Fri, 11 Jan 2013 15:02:50 +0200 Message-ID: From: Ruben Louw Subject: Re: [ptxdist] Gdb debugging helper [PATCH] Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1170315570==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1170315570== Content-Type: multipart/alternative; boundary=20cf30780ca4adc79804d302e9f8 --20cf30780ca4adc79804d302e9f8 Content-Type: text/plain; charset=ISO-8859-1 Thanks Michael Thats what you meant by it installs it if it can find the headers, right? so if i have python-dev installed on my host, and python is enabled in cross-gdb.make, then it will link python and all that, right? On Fri, Jan 11, 2013 at 3:00 PM, Michael Olbrich wrote: > On Fri, Jan 11, 2013 at 02:37:01PM +0200, Ruben Louw wrote: > > I'm trying to get my mind wrapped around this. > > > > I ran your command and this is what it outputs: > > > > Dynamic section at offset 0x3f1df8 contains 25 entries: > > Tag Type Name/Value > > 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2] > > 0x0000000000000001 (NEEDED) Shared library: > [libncurses.so.5] > > 0x0000000000000001 (NEEDED) Shared library: [libtinfo.so.5] > > 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] > > 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] > [...] > > its not linking to Python right? > > Correct. > > > if i then install python, do i have to > > make the link myself? > > 1. Install whatever packages provides Python.h in your distro (python-dev > in Debian). > > 2. Rebuild the toolchain, or just part of if as Juergen suggested. > Python support is automatically enabled if found. > > Michael > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- > ptxdist mailing list > ptxdist@pengutronix.de > --20cf30780ca4adc79804d302e9f8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Michael

Thats what you meant by it installs it if it can find= the headers, right? so if i have python-dev installed on my host, and pyth= on is enabled in cross-gdb.make, then it will link python and all that, rig= ht?



On Fri, Jan 11, 2013 at 3:00 PM, Mic= hael Olbrich <m.olbrich@pengutronix.de> wrote:
On Fri, Jan 11, 2013 at 02:37:01PM +0200, Ruben Louw wrot= e:
> I'm trying to get my mind wrapped around this.
>
> I ran your command and this is what it outputs:
>
> Dynamic section at offset 0x3f1df8 contains 25 entries:
> =A0 Tag =A0 =A0 =A0 =A0Type =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 Name/Value
> =A00x0000000000000001 (NEEDED) =A0 =A0 =A0 =A0 =A0 =A0 Shared library:= [libdl.so.2]
> =A00x0000000000000001 (NEEDED) =A0 =A0 =A0 =A0 =A0 =A0 Shared library:= [libncurses.so.5]
> =A00x0000000000000001 (NEEDED) =A0 =A0 =A0 =A0 =A0 =A0 Shared library:= [libtinfo.so.5]
> =A00x0000000000000001 (NEEDED) =A0 =A0 =A0 =A0 =A0 =A0 Shared library:= [libm.so.6]
> =A00x0000000000000001 (NEEDED) =A0 =A0 =A0 =A0 =A0 =A0 Shared library:= [libc.so.6]
[...]
> its not linking to Python right?

Correct.

> if i then install python, do i have to
> make the link myself?

1. Install whatever packages provides Python.h in your distro (python= -dev
=A0 =A0in Debian).

2. Rebuild the toolchain, or just part of if as Juergen suggested.
Python support is automatically enabled if found.

Michael

--
Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
Industrial Linux Solutions =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | http://www.pengutronix.de/ = =A0|
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 =A0 =A0|
Amtsgericht Hildesheim, HRA 2686 =A0 =A0 =A0 =A0 =A0 | Fax: =A0 +49-5121-206917-555= 5 |

--
ptxdist mailing list
ptxdist@pengutronix.de

--20cf30780ca4adc79804d302e9f8-- --===============1170315570== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1170315570==--