Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling legacy on arm #791

Closed
mcpalmer1980 opened this issue Nov 7, 2021 · 1 comment
Closed

Compiling legacy on arm #791

mcpalmer1980 opened this issue Nov 7, 2021 · 1 comment

Comments

@mcpalmer1980
Copy link

Pymunk has unfortunately broken compatibility with projects made for version 4 and 5. In order to keep those old projects working on modern arm devices I recommend updating the setup.py for 4.0 and 5.7 to compile for arm64 devices. I am getting an error compiling them on the chroot provided by the 351elec community for retro portable consoles. After a little experimenting I have failed to make it work.

root@rk3326-dev:/pymunk-5.7.0# python3 setup.py build_ext --inplace
running build_ext
cc -std=gnu99 -ffast-math -DCHIPMUNK_FFI -g -DCP_USE_CGPOINTS=0 -DNDEBUG -fPIC -O3 -m64 -Ichipmunk_src/include -c chipmunk_src/src/cpSpaceComponent.c -o chipmunk_src/src/cpSpaceComponent.o
cc: error: unrecognized command line option ‘-m64’
error: command 'cc' failed with exit status 1
root@rk3326-dev:/pymunk-5.7.0# 
@vweevers
Copy link
Member

vweevers commented Nov 7, 2021

How is this related to leveldown?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants