I want to be able to test build and run my OS project on my mac partition. To do this, I need a few tools: bochs emulator, nasm assembler, and GNU's ld linker. I've got the first two working, but the latter has been a problem. The ld that comes with XCode is apparently not GNU and does not support linker scripts, which I need support for. I downloaded the source to ld, with the understanding that since OS X is unix based, it would build fine, but it didn't. I can't remember the exact error I got, but it was something to the effect of: "Target Darwin is not supported by ld." Darwin is the name of OS X's unix base... What can I do?
Brodeur235
Probably the best you can do is find out what linker is used when building x86 mac code. I would have a good look at the GNU sites to see if there is any variation in versions for the LD code that may suit an x86 mac. They must use something to build executable files with as there is enough of it around.