Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Hi everyone..
i've installed the new snow leopard and now i'm trying to build the gcc cross compiler. I follow the tutorial in the wiki; I've compiled the GMP and MPFR library and they are ok.
Now I download the binutils-2.19 (that is the last release) and i tried to compile it, following the tutorial. While i use the command
You could delete the "-Werror" flag, with this the Warning isn't an error anymore and the make will not stop. But I don't know if it is a good idea^^, but a good way to try.
If you do decide to do that then Chameleon is a relatively nice bootloader for PCs. It supports FAT32 and HFS+ natively, but requires a MBR or GPT partitioned setup, meaning no floppies and some extra hackery for disk images. It is heavily geared towards booting OS X on non-Apple hardware, but in theory it should be able to boot any Mach-O formatted executable. With Snow Leopard and it's 64-bit kernel I think it might even support long mode too.
I'm planning on using it for my OS once I can handle an MBR-partitioned disk image.
On a real Mac, the normal boot system should work fine too...
You must disable -Werror in the top-level Makefile and the Makefile in <build dir>/binutils or else the change won't have any effect (another reason why recursive Makefiles *suck*).