How to install libffi-dev on Mac OS X

Xiufen Xu picture Xiufen Xu · Jun 22, 2017 · Viewed 14k times · Source

I am trying to implement micropython on unix, which requires libffi-dev. I installed in this way brew install libffi-dev. But it seems that there is no libffi-dev can be found.

Is there any way to install libffi-dev on Mac os. Thank you.

Answer

Paul R picture Paul R · Jun 22, 2017

On Mac OS X you just need:

$ brew install libffi