compiling MS Windows programs on Linux [was Re: Text files]

fredex fredex at fcshome.stoneham.ma.us
Fri Feb 25 01:39:10 UTC 2005


On Thu, Feb 24, 2005 at 08:34:44PM -0500, Matthew Miller wrote:
> On Thu, Feb 24, 2005 at 05:14:43PM -0600, H. Streit wrote:
> > Okay, one of our programmers wants to start porting over a unix app he 
> > wrote to *shudder* windows.  In order to do this, he's mounted his 
> > home directory to his windows box via samba, now he's trying to copy 
> > over the sourcecode, but he's having that infamous "UNIX-to-DOS text 
> > file format" issue (a.k.a LF vs CRLF).  He's trying to write a batch 
> [...]
> > any suggestions?
> 
> Other people have the file-format conversion issue covered, so here's an
> alternate suggestion: why not use MinGW and cross-compile? This is what I do
> for a program that I wrote which I want to make available to people running
> MS Windows, and it works wonderfully -- with minimal hassle for me.

Or if you need a more complete (all things being relative) unix-like
environment, you could try Cygwin.

> 
> My program uses the already-cross-platform SDL library as a basis, which
> isn't necessarily the best thing for all programs -- another suggestion
> would be to use wxWidgets -- <http://www.wxwidgets.org/>.
> 
> I even use Wine to run NSIS <http://nsis.sourceforge.net/> to generate a
> nice, Windows-standard GUI installer -- all from my Makefile on Linux.
> 
> (You can download my project from <http://www.mattdm.org/icebreaker/>, by
> the way -- check out the Makefile to see how the cross-compiling works.)
> 
> -- 
> Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
> Boston University Linux      ------>                <http://linux.bu.edu/>
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
                     all ages, now and forevermore! Amen."
----------------------------- Jude 1:24,25 (niv) -----------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050224/ab40dd7f/attachment-0001.sig>


More information about the fedora-list mailing list