I've attached a patch implementing option 4 from here: https://github.com/atgreen/libffi/issues/138 Please proof read the patch and let me know what you think. It might be good to specifically double check the detection of a compiler with complex support using macros. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany