grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac OSX Ports


From: Yves BLUSSEAU
Subject: Mac OSX Ports
Date: Tue, 30 Jun 2009 11:35:39 +0200
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]