← Back to team overview

rohc team mailing list archive

Re: RTP compare port python binding

 

Hi Manuel,

Answers in the text.

> The patch works like a charm! :)
> 
> Thank you so much,

You're welcome!

 
> One thing I was working to crosscompile rohc on my devel PC, I
> actually could compile the c code without problem, then install
> library on embedded host, that is working and tested. The problem I
> have was during the python compile, I could not build the python code
> on my devel, I was trying to actually build and install using some
> directive but the build didn't go thru, I end up copying the build
> dir to embedded host to build python.
> 
> Here is the problem I got
> [...]
> 
> I was using arm-linux-gnueabihf-gcc compiler, which seems to be
> correctly invoked at first but then it calls the host gcc compiler
> and since my libraries were compile before with the arm compiler,
> then it fails.

I tried it myself on my dev station. I finally made it work for the
target tuple 'arm-softfloat-linux-gnueabi'.

I documented the process I followed on the wiki:
https://rohc-lib.org/wiki/doku.php?id=python-install#cross-compiling_the_python_3_binding_of_the_rohc_library_from_sources

I installed the arm-softfloat-linux-gnueabi toolchain as described here:
https://rohc-lib.org/wiki/doku.php?id=cross-compiler-gentoo#arm_toolchain
More especially that part about Python requirements:
https://rohc-lib.org/wiki/doku.php?id=cross-compiler-gentoo#prepare_librohc_dependencies

I was able to run the example.py program located in contrib/python/. I
didn't tested more.

Tell me if something is unclear or missing in the procedures.

Regards,
Didier

Attachment: pgpkFGhdbozXa.pgp
Description: Signature digitale OpenPGP


References