Page 2 of 2

Re: Building MP under windows

Posted: Fri May 02, 2014 3:01 pm
by pfalcon
> rather than read between the lines

Forgot to mention - yes, that was the culprit.

Re: Building MP under windows

Posted: Fri May 02, 2014 3:46 pm
by stijn
pfalcon wrote:But I still don't get how you got from backslashes to NLR failure
Me neither. On unix it 'properly' segfaults.

Re: Building MP under windows

Posted: Thu Nov 19, 2015 9:41 pm
by igorgatis
So, the recommendation is to turnoff libffi on windows?

I believe I do have libffi installed on my cygwin environment. Still, I'm getting same error messages.

What's the main consequence of turning libffi off?

Re: Building MP under windows

Posted: Fri Nov 20, 2015 5:58 am
by Roberthh
It builds under native Windows. I'm tried it with Windows 7/MinGW32. But I'm not using it a lot. Just to have it around.

Re: Building MP under windows

Posted: Fri Nov 20, 2015 8:09 am
by stijn
igorgatis wrote:So, the recommendation is to turnoff libffi on windows?

I believe I do have libffi installed on my cygwin environment. Still, I'm getting same error messages.
What error messages exactly? The ones from the first post in this thread? And what compiler ae you using to build uPy?

Re: Building MP under windows

Posted: Fri Nov 20, 2015 5:04 pm
by igorgatis
Yes, same error messages. I'm using cygwin's gcc 5.2.0.

Re: Building MP under windows

Posted: Fri Nov 20, 2015 8:00 pm
by stijn
Hmm maybe I should update my cygwin installation then (I thought the setup.exe did it automatically?), mine is at version 4.9.3. In any case I'm having the same problem, x86 and x64 builds, yet according to setup.exe everything ffi-related is installed so I'm starting to think the cygwin ffi thing is just broken?

To answer your question: without ffi there's no uPy ffi module and parts of micropython-lib won't work as it uses ffi.

Re: Building MP under windows

Posted: Sat Nov 21, 2015 1:03 am
by pfalcon
But micropython-lib doesn't have support for cygwin libc loading anyway (but it would be pretty easy to add, definitely much easier than for native Windows API).