Brian J. Johnson [mailto:bjohn...@sgi.com] wrote:
]Sent: Wednesday, May 27, 2015 01:01 PM ]To: edk2-devel@lists.sourceforge.net; 'Laszlo Ersek' ]Subject: Re: [edk2] CorebootModulePkg: gcc reports conflicting types for 'CbParseAcpiTable' ] ]On 05/27/2015 11:36 AM, Scott Duplichan wrote: ]> The reverse situation of running Microsoft tool chains from Linux is impossible ]> or impractical. Linux users need to test Microsoft tool chain builds using a ]> private or public build server. ] ]Microsoft's tools run well enough under wine, so it's possible to use ]the (ancient) DDK3790 compilers on Linux without running Windows or ]purchasing Visual Studio. We do this all the time. But it takes a lot ]of one-time setup, and is kind of clunky. Hello Brian, Thanks for pointing out the Linux option of wine + free Microsoft DDK for building. I imagine some will use this approach to prevent patch rejections once a build server is in place to check patches before acceptance. I didn't suggest it because Windows is my primary OS, and I have never actually run an EDK2 build using Linux + wine + DDK. ]> build.exe -p D:\edk2build\edk2\OvmfPkg\OvmfPkgX64.dsc -b DEBUG -t DDK3790 -n 16 -a X64 -]DSECURE_BOOT_ENABLE -DFD_SIZE_2MB ]> OvmfPkg\Library\XenHypercallLib\X86XenHypercall.c(38) : warning C4244: 'return' : conversion from 'int' ]to 'BOOLEAN', possible loss of data ]> This fail occurs only for DDK3790 and VS2005. Maybe time to retire these ]> especially old tool chains. ] ]If that's done, we should add official support for the newer Windows 7 ]DDK: http://www.microsoft.com/en-us/download/details.aspx?id=11800 Most definitely. DDK3790 should be dropped and replaced by DDK7600. When you pointed out the possibility of using DDK7600 a while back, I tried it and it worked perfectly. The DDK7600 compiler is 5 years newer than the DDK3790 compiler. I could submit a patch, though I have an outstanding GCC5 patch that I would like to see go through first. ]See the discussion on the list last September: ]http://thread.gmane.org/gmane.comp.bios.tianocore.devel/9846/focus=9892 ]-- ] ] Brian J. Johnson ] ]-------------------------------------------------------------------- ] ] My statements are my own, are not authorized by SGI, and do not ] necessarily represent SGI’s positions. ] ]------------------------------------------------------------------------------ ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel