I'm reading the book "Programming from the Ground Up" by Jonathan Barlett. The problem is that it's for Linux and I'm using Mac OS X. The assembly examples that come in the book won't assemble. Is there a way I can test Linux assembly in Mac?
Edit: Sorry, I forgot to put an apropiate title. It should have been "Linux assembly in Mac OS X".
Assembly question
Re: Assembly question
Hi,
Cheers,
Brendan
It should be possible to dual boot OS X and Linux. If that's too much of a pain in the neck, try an emulator (Bochs, Qemu, Parallel, Virtual PC, VMware, etc).no_one wrote:I'm reading the book "Programming from the Ground Up" by Jonathan Barlett. The problem is that it's for Linux and I'm using Mac OS X. The assembly examples that come in the book won't assemble. Is there a way I can test Linux assembly in Mac?
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Re: Assembly question
As an alternative to that round-about way, and from what I understand about OS X being based on BSD, you could take your linux programming knowledge and apply it by reading BSD programming. They should be quite similar and may allow you to write natively to your system.Brendan wrote:Hi,
It should be possible to dual boot OS X and Linux. If that's too much of a pain in the neck, try an emulator (Bochs, Qemu, Parallel, Virtual PC, VMware, etc).no_one wrote:I'm reading the book "Programming from the Ground Up" by Jonathan Barlett. The problem is that it's for Linux and I'm using Mac OS X. The assembly examples that come in the book won't assemble. Is there a way I can test Linux assembly in Mac?
Cheers,
Brendan
- Kevin McGuire
- Member
- Posts: 843
- Joined: Tue Nov 09, 2004 12:00 am
- Location: United States
- Contact:
I would not say useless.Well, if he's using a PPC Mac, then the book would be completely useless...
Brendan, stated implicitly that using a port of BOCHS (The Portable X86 Emulator) would allow him to boot Linux(X86) hosted on a PPC machine which could allow him to do what he would like to do. http://bochs.sourceforge.net/doc/docboo ... iling.html
Also it should not be referred to as Linux Assembly, but rather as IA32/X86 Assembly On Linux.
I think this night help with mac osx asm http://developer.apple.com/documentatio ... ion_1.html