Mailing Lists: Apple Mailing Lists

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

Apple's Linker



Hi,

I'm not sure where else to post this.  It seems as if this is the most appropriate spot based on Apple's listserv descriptions.  

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, but that seems as if it's going to be a difficult thing to do using apple's Linker because (if I'm reading the manual page correctly) it only supports macho binaries, and it doesn't support the use of linker scripts.  

I need to have the ability to produce either a.out binaries or plain flat binaries, so that I can load the kernel up with GRUB inside of a VM and I can't seem to do either.  Further, I tried building GNU ld out of binutils and it just won't run:

sh-3.2# /opt/gnu/bin/ld
/opt/gnu/bin/ld: unrecognised emulation mode: 
Supported emulations: 
sh-3.2# 

Would someone mind pointing me in the right direction please?

Thanks.

-Daniel

 _______________________________________________
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



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.