Slashdot Mirror


Compiling Under Wine

now3djp writes "Interesting article over on CodingStyle that demonstrates how I successfully eliminated wasted time maintaining an MS-Windows computer when I could build natively from my GNU computer! /. has followed other cross compilers in the past. This article is different because I used MS's own compiler! This allowed me to get on with real games porting; with only a proportional increase in compile time. Wine has really come a long way in supporting simple apps, let us hope it reaches a 1.0 soon."

30 of 322 comments (clear)

  1. ads by ldspartan · · Score: 3, Funny

    I find it entertaining that when I went to read the comments, I got to see an article for Visual Studio .NET :).

    --
    lds

  2. It is not recommended by YellowSnow · · Score: 5, Funny

    that you compile under the influence of any type of alcahol

    1. Re:It is not recommended by eclectro · · Score: 5, Funny


      that you compile under the influence of any type of alcahol

      but it's ok to post on slashdot???

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    2. Re:It is not recommended by Pseudonym · · Score: 4, Funny

      Don't drink and derive?

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    3. Re:It is not recommended by powerlinekid · · Score: 3, Funny

      I don't know... I've written some good code while piss drunk. I think the key is that while sober you sometimes get bogged down in doing it The Right Way (tm) where a simple ugly block of code would be better. My code may not be readable the next day but it works :).

      --

      can't sleep slashdot will eat me
    4. Re:It is not recommended by JohnFluxx · · Score: 2, Funny

      Agreed! Otherwise you might write a game that looks really good and you think is working... until you sober up the next morning..not that I've ever done that.

  3. Irony by Pharmboy · · Score: 0, Funny

    Its ironic to go to read an article on how to rid your self of a Windows computer by compiling under GNU/Linux/Wine and the giant advertisement that pops up is for Microsoft Visual Studio .Net.

    --
    Tequila: It's not just for breakfast anymore!
  4. which begs the question by b17bmbr · · Score: 2, Funny

    does microsoft compile windows under wine?

    --
    My problem? I was perfectly gruntled, until some numbnuts came by and dissed me.
    1. Re:which begs the question by Anonymous Coward · · Score: 2, Funny

      Linux now has a new meaning. Linux is now the name of the entire operating system, not just the kernel. This is common usage. It doesn't matter what the older correct version is.

  5. Big deal! by Anonymous Coward · · Score: 2, Funny

    Let me tell you something, I've compiled not only under wine, but on vodka, whiskey, shit even ACID. And when I was on acid, my monitor tried to eat me...

  6. GNU/translation by phoebe · · Score: 2, Funny

    GNU/Build GNU/natively GNU/on GNU/a GNU/computer GNU/using GNU/a MS-Windows/compiler GNU/without GNU/a MS-Windows/computer!

    1. Re:GNU/translation by kfg · · Score: 2, Funny

      I know my cat likes to sleep on my keyboard. I'm just trying to figure out how she managed to post to Slashdot.

      And better than some of mine too.

      Funny thing is that I don't recall giving her a user account, so she's either stolen my password or rooted my box. And she looks so innocent sleeping over the sofa.

      Guess my momma was right when she warned me felines were devious little fuzzballs.

      (No, she's not named after the Friends character. She's named after Phoebe Snow. No, not the singer, the "train babe." Sheesh.)

      KFG

  7. Compiling under wine eh? by trotski · · Score: 2, Funny

    Last time I tryed to compile something under the influence of (way too much) wine, I ended up on the floor infront of my computer. All I remember was waking up to a formatted hard drive; compiling under the influence of wine sucks!

    --

    "Entropy is the bad-guy, and he is everywhere"
    1. Re:Compiling under wine eh? by delta407 · · Score: 2, Funny
      All I remember was waking up to a formatted hard drive
      Would you prefer to wake up to an unformatted hard drive?
  8. Re:such a deal by chunkwhite86 · · Score: 2, Funny

    You know (shaking the finger of logic and wisdom), if they (MS) sold such a product for the GNU environment for a couple hundred bucks...I would buy it.

    Too bad it'll never happen. I'm sure if such a project began within MS, Bill (or some exec) would scream "Heresy!". Remember, a win for GNU = a loss for MS in most cirsumstances.

    Providing, of course, it didn't totally suck!

    MS Sales Rep: "Well Sir, "doesn't suck" wasn't listed as one of your product requirements... Sorry, no refunds!"

    --
    I'd rather be a conservative nutjob than a liberal with no nuts and no job.
  9. GNU! by Dunkalis · · Score: 3, Funny

    Wow! So RMS wants us to simply call it GNU now? Dropping the Linux part altogether? Sorta hypocritical to me ;).

    Or do you run Hurd? Which is technically the GNU OS.

    The above is meant to be funny.

    --
    Slashdot is a waste of time. I enjoy wasting time.
  10. GNU computer? by arvindn · · Score: 2, Funny

    Does this guy really use the HURD, or is it just that he's an RMS mega-fan?

  11. Re:Windows Compliant / Posix Compliant Drivers by hazman · · Score: 2, Funny

    Hey, you know, if there is anybody who could pull off this Hardware Abstraction Emulation stuff, it'd be those sharp critters over at Connectix.....what's that, they were acquired by Microsoft?. Never mind.

  12. Re:WRONG! by Jah-Wren+Ryel · · Score: 4, Funny

    Duh! If it compiles it must be fine! What kind of newbie developer are you?

    --
    When information is power, privacy is freedom.
  13. Even a man who's pure of heart by YellowSnow · · Score: 5, Funny

    and uses the preview right
    can turn to a troll
    when the typos roll
    and the bottle is empty and light

  14. Re:1.0 ? by Anonymous Coward · · Score: 1, Funny

    Wine's not done until Lotus won't run?

  15. weird... by dolson · · Score: 5, Funny
    You don't need Wine if you know what you're doing...
    dana@digory:battlepong$ make
    g++ `sdl-config --cflags` -c sound.cpp
    g++ `sdl-config --cflags` -c collide.cpp
    g++ `sdl-config --cflags` -c ball.cpp
    g++ `sdl-config --cflags` -c game.cpp
    g++ `sdl-config --cflags` -c menu.cpp
    g++ `sdl-config --cflags` -c player.cpp
    g++ `sdl-config --cflags` -c randgen.cpp
    g++ `sdl-config --cflags` -c init.cpp
    g++ `sdl-config --cflags` -c main.cpp
    g++ `sdl-config --cflags` sound.o collide.o ball.o game.o menu.o player.o randgen.o init.o main.o -o bpong -lm `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
    dana@digory:battlepong$ file bpong
    bpong: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped
    dana@digory:battlepong$ make clean
    rm -rf *.o bpong
    dana@digory:battlepong$ sh cross-make.sh
    g++ `sdl-config --cflags` -c sound.cpp
    g++ `sdl-config --cflags` -c collide.cpp
    g++ `sdl-config --cflags` -c ball.cpp
    g++ `sdl-config --cflags` -c game.cpp
    g++ `sdl-config --cflags` -c menu.cpp
    g++ `sdl-config --cflags` -c player.cpp
    g++ `sdl-config --cflags` -c randgen.cpp
    g++ `sdl-config --cflags` -c init.cpp
    g++ `sdl-config --cflags` -c main.cpp
    g++ `sdl-config --cflags` sound.o collide.o ball.o game.o menu.o player.o randgen.o init.o main.o -o bpong -lm `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
    dana@digory:battlepong$ file bpong
    bpong: MS Windows PE Intel 80386 GUI executable not relocatable
    It's MAGIC.
  16. Re:So you're saying my vi clone. . . by bofkentucky · · Score: 4, Funny

    what is your project's name...emacs *ducks for asbestos-lined safe room*

    --
    09f911029d74e35bd84156c5635688c0
  17. Re:Awesome by Anonymous Coward · · Score: 1, Funny

    SFU? Why don't YOU STFU!

  18. heh... wine... by doooras · · Score: 2, Funny

    i prefer to compile under rum

    *hic*

  19. Re:Awesome by Anonymous Coward · · Score: 0, Funny

    say it with me now:

    Developers! Developers! Developers! Developers!
    Developers! Developers! Developers! Developers!

  20. BZZZZT! by Anonymous Coward · · Score: 1, Funny
    ...plus blow our competiters out of the water...

    The U.S. Government already blows its competitors out of the water.

  21. Re:No! No! No! by Tony-A · · Score: 2, Funny

    Seems like there have been some reports that Microsoft Windows is more stable under VMWare than on the bare metal. It does make sense that the virtualized system as presented by VMWare is more regular and less messy than the bare metal.


    Yes, but. The bugs taken individually won't show up. It's when they get together (and breed or something) that you get troubles.

  22. SCORE 5 : WORDY. by Anonymous Coward · · Score: 1, Funny

    Thanks for letting us know that you can't install Oracle 8i on Redhat 6.1.

  23. Dosemu 1.0 by tbspit · · Score: 2, Funny

    When Dosemu reached 1.0, usage of DOS had become very low. So let us hope for a Wine 1.0 soon:)