All of lore.kernel.org
 help / color / mirror / Atom feed
* Mac OSX Ports
@ 2009-06-30  9:35 Yves BLUSSEAU
  2009-06-30 10:32 ` Vladimir 'phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Yves BLUSSEAU @ 2009-06-30  9:35 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

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 #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3313 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-30 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30  9:35 Mac OSX Ports Yves BLUSSEAU
2009-06-30 10:32 ` Vladimir 'phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.