Slashdot Mirror


x86 Assembly on Mac OS X

Quicksilver31337 asks: "I am currently taking an Assembly course which requires that I be able to compile ASM for the intel x86; however, I am stubbornly a Mac user. Having no desire to switch from my Powerbook, what can I do to work with, compile, and run x86 ASM short of running VirtualPC?" While Mac OS X does use gcc and its associated tool-chain, an old Slashdot discussion seems to imply that cross-compiling is better under OpenDarwin than Mac OS X. Has anyone tried cross-compiling under both operating systems? If so, what suggestions on setting up a working tool-chain do you have?

5 of 156 comments (clear)

  1. Re:Don't by Anonymous Coward · · Score: 1, Funny
    Anyone who can afford to go to college can afford a $200 pc.
    You seem to be missing the obvious: Anyone who can afford a Mac can afford a $200 pc.
  2. Here's my advice, you may hear lots similar by biglig2 · · Score: 5, Funny

    Sweet Baby Jesus and the Orphans, if you don't want to use anything except a Mac, then go on a PowerPC assembler course!

    Dear Auntie Slashdot,

    I'm going on a course to learn how to stab people. But I don't like knives, nasty sharp things, I much prefer my sock full of spagetti. Can you suggest a way I can stab people with a sock full of pasta?

    Also, I don't want to ride a bicycle, any way I can learn how to ride one while on a train?

    etc. etc.

    --
    ~~~~~ BigLig2? You mean there's another one of me?
  3. Do what Mac Zealots have always done... by Lead+Butthead · · Score: 4, Funny

    Code the assignment in PPC assembly and hand that in. And insist PPC is a superior architecture to code for...

    --
    ELOI, ELOI, LAMA SABACHTHANI!?
  4. Reminds me of a letter I once read... by NewOrleansNed · · Score: 3, Funny

    Deer Mason's Guild,

    I need to build a brick fireplace but I am a fervent hammer user. I realize that a hammer might not be the right tool to lay down the mortar, but I believe very strongly in the hammer and believe that ultimately, the trowel is an inferior tool designed only for trogladytes and people who actually know the definition of "trogladytes." What is the best way to use my hammer to accomplish my goal?

    Signed,

    Go Hammer, Go Hammer Go

  5. Re:Don't by Anonymous Coward · · Score: 1, Funny

    You seem to be missing the obvious: Anyone who can afford a Mac can afford a $200 pc.

    Yes. But someone who has bought a Mac is unlikely to be able to afford one any more... ;)