u-boot cross compile on cygwin

438 Views Asked by At

I am trying to build u-boot for my arm target on cygwin. I took the latest u-boot (2019.10) I took the latest linaro gnu-eabi toolchain. The first thing I found - the makefile adds "-ansi" flag to cygwin compilation and it fails and if to remove this flag it is able to compile. Now I found that my compiler doesn't know where is its libgcc.a. So build fails. If anybody has experience in cross-compiling u-boot on cygwin - please, I need your advice. How to do it? Thanks

0

There are 0 best solutions below