Re: Cross-compiling into windows

Matt Mullens <[email protected]> Wed, 9 Apr 2003 00:42:47 -0700 (PDT)
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
--- Matt Mullens <[email protected]> wrote:
> Hi,
> I'm having a problem cross-compiling into Windows.  
> I've tried both my own build (made from gcc 
> 20030313), as well as the Makefile in xwt/gcc (the 
> xwt cvs).  The former works great for little test 
> programs - they run flawlessly on Windows, and will 
> compile xwt without complaint.  The latter won't
> create the cross-compiler.  First it complains about
> 
> libiberty files missing, a missing Makefile.in, 
> ...


Ok, nevermind, problem solved with 20030331. 
 
Building a windows executable with the
-fdata-sections 
flag screws up the executable - it will run for a
moment and then exit (or crash).

If I leave this flag out, the cross-compiled
executable works like a charm.





__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

_______________________________________________
http://lists.xwt.org/listinfo/dev