Re: Cross-compiling to Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 17, 2008 at 05:55:36PM +0100, Richard W.M. Jones wrote:
> On Thu, Apr 17, 2008 at 12:53:13PM -0400, Daniel Veillard wrote:
> > On Wed, Apr 16, 2008 at 11:27:08PM +0100, Richard W.M. Jones wrote:
> > > On Wed, Apr 16, 2008 at 11:24:10PM +0100, Richard W.M. Jones wrote:
> > > > He mentions that he's managed to set up an entire cross-compiler
> > > > environment to do the compiles (actually, it's a package in Debian
> > > > called mingw32 -- we don't have it in Fedora), and he's set up Wine so
> > > > he can run tests too.
> > > 
> > > Not tried them yet, but there are some Fedora packages of this cross
> > > compiler here:
> > > 
> > >   http://mirzam.it.vu.nl/mingw/
> > 
> >   Well I just tried but the packages don't rebuild on x86_64, it seems
> > they are not 64bits ready.
> >   But yes using the x-compile to check for portability regressions sounds
> > fine.
> 
> Are you sure?  I built them fine over here (AMD x86-64).

  while rebuilding the binutils ...

+ rm -f /var/tmp/mingw-binutils-root/usr/local/info/dir
+ cd ..
+ rm /var/tmp/mingw-binutils-root/usr/local/lib/libiberty.a
rm: cannot remove `/var/tmp/mingw-binutils-root/usr/local/lib/libiberty.a': No such file or directory

paphio:~ -> ls /var/tmp/mingw-binutils-root/usr/local/
bin/          info/         lib64/        
i386-mingw32/ lib/          man/          
paphio:~ -> ls /var/tmp/mingw-binutils-root/usr/local/lib
lib/   lib64/ 
paphio:~ -> ls /var/tmp/mingw-binutils-root/usr/local/lib64/libiberty.a 
paphio:~ -> 


> I'm about half way through building libvirt using them.  Just working
> my way through a maze of GnuTLS dependencies/problems.

  ah, okay, good luck :-)
Feel free to upload stuff on ftp://libvirt.org/libvirt/win32 ... if needed
add a mingw subdir and put rpms or tarballs there.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]