Hanan
Hanan

Reputation: 1445

Alternative to compile python for arm-none-linux-gnueabi-g++ in order to get the LIBs

I have a C++ wrapper for a Python module. In order to compile my C++ code, I need the libs of Python. Code compiles on my installation Ubuntu, on g++. Now I want to compile

$> make CXX=arm-none-linux-gnueabi-g++
  1. Got arm-none-linux-gnueabi-g++ on my path.
  2. Got all the standard libs and includes for ARM,
  3. Except python libs for ARM.

So, AFAIK I need to compile Python source code for ARM. Maybe using this link?

Any other options?

Upvotes: 1

Views: 1561

Answers (1)

Cédric Julien
Cédric Julien

Reputation: 80851

I found a more recent link for cross compiling for ARM (and PPC), but if you're not using something like OpenEmbedded or Buildroot (or whatever else to make a complete embedded distribution) to build all your environment, you'll have to use those tutorials (OpenEmbedded, Buildroot & others are using those methods and patches to cross compile python).

Upvotes: 1

Related Questions