[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Rogers wrote: > I need to get some of my command line based programs compiled for > Cygwin. A Windows user who has Cygwin wants to use my program. The > problem is that I do not want to learn how to use Windows or commit to > the Microsoft EULA and so I can't recompile from the Cygwin bash prompt. > > In theory at least, I should be able to cross compile from my Linux box. > Has anyone done this? If so, could they point me in the right direction? No, but for a simple one off I'm happy to rebuild it on the box I use for GNU Chess Cygwin builds. > Could I simply recompile the source for the Cygwin GCC on my Linux box? No, GCC cross compilation just requires machine specification for GCC, however I don't know what you do for cross linker and cross assembler. In other words it is relatively "easy" to produce x86 assembler that will work under Cygwin, but harder to actually produce an executable. Why not just install Cygwin on your friends PC, he has already agree to the Microsoft EULA, and the Cygwin software is free, and you'll be sure to have all the runtime DLL's to hand. -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+Z3JzGFXfHI9FVgYRAtsDAKCgCq/htLfhJXb/ww8yGdnlKgjUdwCeN9ui wL0sdtlzQe/PwlfLNbSIklc= =qJaU -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.