On 8 aoû¹, 17:32, Sherm Pendley <spamt... / dot-app.org> wrote:

> My solution for calling ObjC from Perl XS extensions was to tell GCC to
> compile .c files (generated from .xs files and thus not easy to rename
> to .m without patching the utility that generates them) as Objective-C.
> The compiler flag for that is, surprisingly enough, -ObjC.

Thanks for this tip !!!

> How to apply the -ObjC compiler flag when building Ruby extensions is a
> question for someone with more Ruby expertise than me. Sorry!
>


it's really easy to do C ext for ruby ...

Yvon