--
You received this message because you are subscribed to the Google Groups "Crystal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang+unsubscribe@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/0fd1c62b-c955-4938-8d30-31126ac9ad92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I would suggest either writing stable bindings in C and binding those, or using macros if the C macro magic is sufficiently simple. If the names are suffixed with a version, doesn’t that mean that each version will be incompatible? (and thus you need different bindings for each case)
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang...@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/CACAwW2jL7WR4DrL2EFXowdniEfuh1%2B%3Drn1my8Knoo52q7vfwEA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang...@googlegroups.com.
I would suggest either writing stable bindings in C and binding those, or using macros if the C macro magic is sufficiently simple. If the names are suffixed with a version, doesn’t that mean that each version will be incompatible? (and thus you need different bindings for each case)
On 27/04/17 14:27, Kostya M wrote:
+1. I also want binding to libicu and have the same problem with method versions.In ruby ffi binding used dlsym to find correct method names, and then generate ffi binding related on this names.I think crystal can do something similar, when install shard, it can find .so file, and using dlsym find methods names, then generate binding.about distributing self icu lib, i think this is bad, because it quite big.
2017-04-26 17:17 GMT+03:00 Luc Sarzyniec <de...@olbat.net>:
I'm writing a wrapper to the ICU library and I have an issue to link my Crystal lib to different versions of the shared objects (as many wrapper does since it's hard to have the same version of a lib on every OS/distro).
The main issue: in many distributions of the library, a suffix containing the version number is added to the symbols making different versions of the ABI 100% incompatible.
I tried to sum it up and proposed some solutions in this issue.
Does anyone have an idea on how to proceed / can anyone help me on this ?
--
You received this message because you are subscribed to the Google Groups "Crystal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang...@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/0fd1c62b-c955-4938-8d30-31126ac9ad92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang+unsubscribe@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/39089a8e-fa25-4d7c-b6ab-b1b5b760f481%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang+unsubscribe@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/2d81705a-3a98-4d78-ba68-b2439590d2dd%40googlegroups.com.
i think using xml parser in run script is too heavy, it can be done by split or grep.
also this is not worked on osx, icuinfo command not exist, pkgconfig no return.
but, ffi-icu nice install on ubuntu and OSX, so i think need to do the same as it does.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang+unsubscribe@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/7a1c23c5-eb39-43a6-9135-01ed04f3a209%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang+unsubscribe@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/c58cb003-9406-4ac2-bbe2-bab09cd141d0%40googlegroups.com.