[coreboot] [help]build cbfstool fail with cygwin64

Stefan Reinauer stefan.reinauer at coreboot.org
Mon Sep 14 20:07:57 CEST 2015


* Kurt Qiao <kurtqqh at gmail.com> [150909 09:42]:
> does anyone try cygwin64 to build coreboot in windows7 64bit?
> i got fail when build cbfstool with cygwin64.

Can you try the following two patches to see if they solve your problem

http://review.coreboot.org/11636 Don't use fileno() to get file size
http://review.coreboot.org/11637 fmd: Use _fileno() on MINGW

Also, if that doesn't work try to replace the MINGW check with something
like #if defined (_WIN64) || defined (__CYGWIN64__) instead.

(Make sure to run make clean in the cbfstool directory before trying)

Stefan



More information about the coreboot mailing list