Re: crosscompile Linux-Windows

Yes, it is possible - I've done it frequently in the Qt environment - the 
trick is getting the right libraries specified in the right places.  Haven't 
gotten around to trying it with gtkmm yet but want to also.  However, as Tim 
mentioned debugging and testing the compile are difficult.  Think of the 
cross-compile as a convenience mode.  I cross-compiled and then ran it under 
Wine to get an idea of Windows operability and look and feel.  You can even 
build a Windows installer under Linux with NSIS.  But I also wouldn't be 
surprised if MS is trying to break this any way they can in SP updates.  So 
eventually, plan to set aside a crappy machine - load Windows and Dev-C++ on 
it - keep it off the network for security, use sneakernet - compile it and 
test there or even better use a computer of someone else who uses Windows.   
Of course you can always add "For best results use Linux" :)

Post what you have for a cross-compile makefile so far and we'll put our heads 

On Wednesday 23 March 2005 12:17, Timothy M. Shead wrote:
> On Wed, 2005-03-23 at 19:57 +0100, Murray Cumming wrote:
> > On Wed, 2005-03-23 at 15:42 -0300, Leandro Fanzone wrote:
> > > I'm afraid you can't create Windows binaries from within Linux. You
> > > must have a Windows environment working... it's not that difficult,
> > > after all.
> >
> > No, I think it's possible, and I'm sure there's something in the mailing
> > list archive about it.
> At one time we used the following to create a Win32 K-3D build for
> Win32; it worked, but overall was more of a novelty than anything usable
> in production.  As I recall, there were many unexplained crashes, and
> debugging was a problem.
> Cheers,
> Tim
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org

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