nativelibs4java / BridJ

BridJ: blazing fast Java / C / C++ interop
https://code.google.com/archive/p/bridj/
Other
297 stars 77 forks source link

Dropped support for linux_armel between 0.6.3 and 0.7.0? #80

Open Bogdan-Vasile opened 8 years ago

Bogdan-Vasile commented 8 years ago

Hi,

I updated recently the bridj version in one of the projects that I'm working on and I saw that I can't use it on a linux/armel machine.

The old bridJ version was 0.6.3-20130316190111-13, and the new version is 0.7.0.

After comparing jars for the two, I saw that the library for linux_armel was missing.

Was there a reason for removing it, or is it something that I'm doing wrong?

Thank you in advance for your support.

Bogdan

Zubnix commented 8 years ago

afaik, dyncall (that bridj uses) doesn't support armel/armhf with callbacks (at the time?). Therefore armel/armhf support is completely disabled(?). Really sad as it makes BridJ not usable for me.

Bogdan-Vasile commented 8 years ago

Hi Zubnix, Bridj was working on linux_armel with version 0.6.3.... and the current version contains a linux_armhf library.... I don't know enough about this project to say anything about dyncall or dyncallback ( as I saw in https://github.com/nativelibs4java/BridJ/issues/40 ). At least for now I'll switch to 0.6.3 snapshot, which does support the platform I'm working on. But it would be good to know if it is a permanent problem or just a glitch.

Zubnix commented 8 years ago

Afaik armel support was dropped in 0.7.0.

However I do see that http://hg.dyncall.org/pub/dyncall/dyncall/rev/a461b6977b52 removed the 'support armhf callback' TODO, which I assume means armhf callback should be working!

@ochafik ^ Could you pretty please make a version with a working armhf?