Support for Debian architectures #191

4 commits merged into from Feb 7, 2012


None yet
2 participants

terceiro commented Feb 6, 2012


These changes were made in order to make ffi work on all official Debian architectures. Please consider merging this branch into the official codebase.


terceiro and others added some commits Dec 25, 2011

@terceiro terceiro Add :remote option to FFI:TypesGenerator#generate
This is useful for porting to other architecture for which you don't
have ruby installed.
@terceiro terceiro Add :input option to FFI::TypesGenerator#generate
This is useful when while porting to new achitectures, you are not able to
run gcc directly from a ssh connection (e.g. gcc is only available on a
chroot), so you run gcc manually against the input that TypesGenerator
would give to gcc, copy back the resulting C file to your local
machine, and pass the C file to be parsed by TypesGenerator.
@terceiro terceiro Adding types.conf files for 7 Debian architectures b62a507
@sadkingbilly @terceiro sadkingbilly Guard Solaris-specific assembly code from non-Solaris hosts
Signed-off-by: Antonio Terceiro <>

@ghost ghost added a commit that referenced this pull request Feb 7, 2012

Wayne Meissner Merge pull request #191 from terceiro/debian-architectures
Support for Debian architectures

@ghost ghost merged commit b8034e0 into ffi:master Feb 7, 2012


ghost commented Feb 7, 2012

Awesome, thanks for that!

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment