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 <m.olbrich@pengutronix.de> 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