<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1428227900010_11967"><span id="yui_3_16_0_1_1428227900010_12007">Hi Stefan,<br style="" class=""><br style="" class="">happy Easter to you and all the list's users.<br style="" class="">Thank you very much for the upgrade!<br style="" class="">I don't give up, actually I'm digging the matter thinking a way to achieve the goal of my purpose.<br style="" class="">I want to build an environment where all is set right in order to easy compile flashrom from time to time a new version of it is released.<br style="" class="">Windows versions around the net are too old, almost unusable nowadays for my purposes.</span></div><div id="yui_3_16_0_1_1428227900010_12220"><br><span id="yui_3_16_0_1_1428227900010_12007"></span></div><div style="" class="" dir="ltr" id="yiv7625235325yui_3_16_0_1_1426536062479_4572">Mit Freundlichen Grüßen,</div><div style="" class="" dir="ltr" id="yiv7625235325yui_3_16_0_1_1426536062479_4811"><br style="" class="" clear="none"></div>Topolinux  <div style="" class="" id="yui_3_16_0_1_1428227900010_11967"><span style="" class=""><br style="" class=""></span></div><br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> Il Venerdì 3 Aprile 2015 19:05, Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> ha scritto:<br> </font> </div>  <br><br> <div class="y_msg_container">On Mon, 16 Mar 2015 21:02:28 +0000 (UTC)<div class="yqt2812448180" id="yqtfd86414"><br clear="none">Topolinux <<a shape="rect" ymailto="mailto:mailing_l1st@yahoo.it" href="mailto:mailing_l1st@yahoo.it">mailing_l1st@yahoo.it</a>> wrote:<br clear="none"><br clear="none">> You wrote about cross-compiling flashrom for Windows, maybe that is more easy than compiling on a Windows system, which could be one solution.<br clear="none">> By reading <a shape="rect" href="http://flashrom.org/Windows" target="_blank">http://flashrom.org/Windows </a>page seems to me cross-compiling on Linux for Windows is more complicated though.<br clear="none">> If it isn't too much trouble could you please describe how do the job?<br clear="none">> I mean a description of your MinGW installation and the exact commands issued.<br clear="none">> Instructions on the site say<br clear="none">> $ cd flashrom<br clear="none">> $ make<br clear="none">> are enough in order to compile under Windows.<br clear="none">> Instead on Linux for Windows you need<br clear="none">> $ make CC=i586-mingw32msvc-gcc CPPFLAGS="-I.../libusb-headers/ -I.../libftdi-headers/" LDFLAGS="-L.../libusb-static/ -L.../libftdi-static/"<br clear="none">> If it could be possible to see a real life example I think it would be of much help.<br clear="none">> Another thing.<br clear="none">> In your example you compile with "i686" option while in the instructions on the flashrom Windows site it's used the "i586".<br clear="none">> Compiling by <br clear="none">> $ cd flashrom<br clear="none">> $ make<br clear="none">> there isn't any of the two options, so which option will be used in order to compile?</div><br clear="none"><br clear="none">I have updated the section in the wiki but it does not include more<br clear="none">information than I gave you in my previous email. You are right that<br clear="none">the compile command for cross-compiling is more complicated (of course<br clear="none">it is... all build systems default to a native build usually, so to get<br clear="none">a non-native build one have to supply some arguments :).<br clear="none">With the last flashrom release I have simplified the required<br clear="none">parameter(s) though, see the wiki:<br clear="none"><a shape="rect" href="http://flashrom.org/Windows#Building_.28cross-compiling.29_flashrom_on_Linux_for_Windows_using_MinGW" target="_blank">http://flashrom.org/Windows#Building_.28cross-compiling.29_flashrom_on_Linux_for_Windows_using_MinGW</a><br clear="none"><br clear="none">The command itself is also no indication of the difficulty to set up<br clear="none">the build environment... most work should already be done before<br clear="none">issuing that command!<br clear="none"><br clear="none">-- <br clear="none">Kind regards/Mit freundlichen Grüßen, Stefan Tauner<br><br></div>  </div> </div>  </div></div></body></html>