[dpdk-dev] Compiler for Windows

Thomas Monjalon thomas at monjalon.net
Mon Jan 7 18:00:31 CET 2019


07/01/2019 17:51, Stephen Hemminger:
> On Mon, 7 Jan 2019 16:29:25 +0000
> "Burakov, Anatoly" <anatoly.burakov at intel.com> wrote:
> 
> > On 07-Jan-19 4:15 PM, Bruce Richardson wrote:
> > > On Mon, Jan 07, 2019 at 07:51:38AM -0800, Stephen Hemminger wrote:  
> > >> On Mon, 7 Jan 2019 10:56:57 +0000
> > >> "Burakov, Anatoly" <anatoly.burakov at intel.com> wrote:
> > >>  
> > >>> On 03-Jan-19 6:33 AM, Stephen Hemminger wrote:  
> > >>>> What about Gcc under the WSL thing (ie Linux emulation in Windows).
> > >>>> Much better than Cygwin type stuff.
> > >>>>      
> > >>>
> > >>> WSL is dog-slow with any kind of disk I/O, at least currently, so while
> > >>> i do use WSL to fool my IDE into thinking it's running on Linux, the
> > >>> actual compilation user experience is horrible.
> > >>>  
> > >>
> > >> The newest version uses Hyper-V to run Linux kernel in VM and is better.
> > >> Probably all still has issues with translation to NTFS.  
> > 
> > Yes, but it takes a while for "newest versions" to trickle down on our 
> > dev machines :)
> > 
> > > 
> > > But is running that going to produce windows binaries rather than linux
> > > ones?
> > >   
> > 
> > I believe it's producing Linux binaries, not Windows ones. So probably a 
> > non-starter.
> > 
> 
> It would produce Linux binaries. It should be possible to convince it to do
> Windows binaries some how. Just hoping there was a way to build DPDK
> with standard tools and not having to use cygwin.

I believe the right way is to compile from a Windows machine.
In this thread, I would like to discuss how to compile on Windows.
"Cross" compilation from Linux is also interesting but probably more tricky.




More information about the dev mailing list