Hi, i'm currently trying to ports grub2 to Mac OSX (leopard). I can compil and build the code with XCode.I have add the necessary functions and calls to support OSX (like getting block counts of a block device with ioctl calls).
The only problem is the hook nested functions. XCode disable nested functions by defaut. So i enabled it with the gcc option -fnested-functions: all compil and build right but i have exceptions at runtime. If i put nested functions outside (putting also inner variables outside) i fix the problem and all work well.
So do you know if it exists a gcc option or a linker option to fix this nested functions problem ?
Also where or at who i can sent my OSX patchs for incorporating into the main trunk ?
Thanks in advance, Yves Blusseau
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel