Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple's Linker



It isn't Linux-centric as much as it is GNU-toolchain-centric.  I could easily use Apple's toolchain if grub supported booting macho binaries (hint, it does, but its a hack).  I already managed to get a bootable kernel going last night by using a FreeBSD box here at work as a temporary build machine, and I'm happy with the results.

I found a great tutorial last night on building a custom cross-compiling toolchain so that I don't need to employ the use of a build box any longer.  I think that's going to be my best option for doing the meat of the dev work on my mac.

http://wiki.osdev.org/GCC_Cross-Compiler

Regards,
Daniel

On Thu, Nov 20, 2008 at 6:24 PM, Boyd Waters <email@hidden> wrote:

On Nov 20, 2008, at 4:05 PM, Daniel Corbe wrote:

I'm trying to learn more about how Operating Systems work so I'm taking an OS design course, which includes kernel development.  Since I am a Mac user, I would love very much to complete my course work on my Mac


Hmm... if I'm parsing your email correctly, then you will find completing your (linux-centric) coursework on your Mac to be almost impossible. The Mac OS architecture differs from Linux is some important ways, not least of which is the structure of the kernel extensions -- which are not a.out (neither are x86 linux, they are ELF, right?).

Use Linux inside of VirtualBox on your Mac -- then you can "use your Mac" to complete your courseware, and not spend a dime. If you've got VMWare or Parallels on your Mac, then that's your ticket. Use the GNU/Linux GCC toolchain on the (virtual) Linux machine to do your coursework.

When you get a spare moment, read Amit Singh's *awesome* "Macintosh OS X Internals" book -- http://osxbook.com/

Some other cool OS books:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html
http://tinyurl.com/5536k4
http://tinyurl.com/5eq86g


Sincere apologies if I totally missed the point of your question.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Apple's Linker (From: "Daniel Corbe" <email@hidden>)
 >Re: Apple's Linker (From: Boyd Waters <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.