Slashdot Mirror


Xmingwin For Cross Generation Applications

An anonymous reader writes "Xmingwin makes it practical to generate Windows programs from a Linux server. This column gives a recipe for setting up Xmingwin, outlines the most important reasons for doing so and shows you how to generate executables for multiple platforms -- including Windows DLLs -- from a single Linux source."

7 of 108 comments (clear)

  1. ohhh maaaan by nocomment · · Score: 5, Insightful

    I've been trying to migrate people _away_ from windows, this only makes it easier for them to stay ;-)

    Of course it also help linux break into places it wasn't allowed before, so i've got to say bravo for that!
    Still, should be running BSD ;-p

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
  2. Testing ? by MosesJones · · Score: 4, Interesting


    Winner of Company Most likely to produce Buggy Software....

    The people who do this. You can produce work on the Server but to properly test you still need the windows environment. So you have to deploy to that, given that you need a testing environment per developer as well as for UAT and QA then your costs aren't really reduced. The advantages in terms of compile speed are killed in terms of transfer and deployment.

    Somebody somewhere clearly things they need this, somebody somewhere doesn't work in large teams and on commercial apps.

    Sorry to dis someones work, but I'd be more interested in a decent Open Source windows IDE on windows than being able to do a fraction of the work on Linux... and I loathe MS-Windows. Why do so many Open Source projects have to ape MS rather than take on the beast.

    Too many people, too many projects. Come and save us IBM.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:Testing ? by catscan2000 · · Score: 5, Informative

      If you're looking to replace Visual Studio for programs that don't rely too much on the COM wizards and such, try out Dev-C++. It's pretty fast, too, and it uses GCC :-).

  3. Xmingwin? by gwernol · · Score: 5, Insightful

    This sounds like intriguing functionality, but really can't they find a better name than Xmingwin? Its a horrible name, practically unpronounceable, difficult to remember and spell, easy to confuse with other similar projects.

    I know this might sound like a troll but I'm serious about this. Projects do themselves no favors by adopting badly thought out names. A confusing name makes it less likely that I will use or evangelize this software. When someone asks me for a recommendation for a software platform for generating Windows executables on our Linux servers I'll be embarassed to say Xmingwin (I work in a corporate environment). Its hard to say, hard for someone to understand when said and worse it sounds amateurish. Its almost as bad as Ogg Vorbis: very geek-cool to use Klingon but the kiss of death in a serious corporate environment.

    This isn't a slam on open source - god knows there are too many dumb names in the closed source world - but a plea for developers to think about naming. Its an important part of getting your technology talked about and accepted.

    --
    Sailing over the event horizon
  4. We've had this for years by Stiletto · · Score: 4, Informative


    I've been using a MINGW32-based linux->win32 cross-development environment for years. The same concepts apply as for cross-compiling to different hardware architectures. This is definitely not new software. With properly written makefiles, you can build to target both Linux and Win32 platforms from the same source tree and build environment. Of course you must test on both platforms, but having a setup like this definitely makes it easier to build large projects for both Windows and Linux.

  5. Re:Usually... by grolim13 · · Score: 4, Informative
    No, you're misunderstanding how this works. Cross-compilers have been around for ages, this one just happens to have the advantage that it inherently portable (because it is based on GCC) and targets Windows (which is phenomonally popular).

    Wine works by reimplementing a part of the Windows API. Mingw32 is a compiler which takes C/C++ programs and Windows libraries and generates Windows executables. Its C/C++ support is just about flawless as it uses GCC; it can link programs against native Windows libraries just like any Windows compiler would; and it produces ordinary Windows executables.

    These Windows executables, however, won't run natively on the (Linux) host machine.

    Note that this is also not an automated system for writing portable programs; Xmingwin won't compile anything that wouldn't compile on a normal Windows machine. But if you have code that is portable, you can save a lot of hassle by having just one machine to build binaries for several platforms.

  6. They're just following the Geek Rule by dark-nl · · Score: 4, Funny

    Every cool project should have a FAQ entry explaining its name. If the name is too easy, or has an obvious pronunciation, then it can't be a cool project. Ideally, there should be long-standing flamewars about it (i.e. is it "vee-eye" or "veye"?).