All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Sammon <grub-devel@brisammon.fastmail.fm>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Grub2 on Mac OS X
Date: Wed, 23 Mar 2005 15:42:36 -0500	[thread overview]
Message-ID: <E1DECyY-00023W-AU@lists.gnu.org> (raw)
In-Reply-To: Your message of "Tue, 22 Mar 2005 21:20:43 +0100." <200503222120.43235.okuji@enbug.org>

> > Here is a patch with the modifications I made. Please tell me if some of
> > them are wrong. I hope I would help.
> 
> Could you make a patch with -u? The standard diff format is too difficult for 
> me.
> 
> I describe what I think are not appropriate in your patch:
> 
> - memalign should not be just a macro. memalign is not the same as malloc.

Antoine's post inspired me to investigate building grub2 on my OpenDarwin 
system.
I have two comments so far:
1)  The memalign issue can be avoided by not building grub-emu (and possibly 
doing something about grub-mkimage and grub-setup, which use util/misc.c but 
probably not memalign)  On darwin-ppc, these programs will not be missed much 
(by the type of geek currently using grub2), since it's relatively easy to 
arrange to call grubof from OpenFirmware, and do the setup from there.  On 
darwin-x86, the lack of these programs still leaves people with the option of 
using a grub floppy.
2)  Perhaps you should switch from memalign to posix_memalign.  There's better 
odds of convincing Apple to add posix_memalign to future releases of Darwin 
than with memalign.  It appears that memalign is glibc-specific.  Does 
{Free|Net|Open}BSD have memalign?  Is anyone building grub2 on any of the BSDs?









  reply	other threads:[~2005-03-23 21:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 18:55 Grub2 on Mac OS X Antoine Terrienne
2005-03-22 20:20 ` Yoshinori K. Okuji
2005-03-23 20:42   ` Brian Sammon [this message]
2005-03-23 21:09     ` Yoshinori K. Okuji
2005-03-26 13:37       ` Marco Gerards
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23 13:20 antoine terrienne
2005-03-23 20:45 ` Yoshinori K. Okuji
2005-03-23 22:28   ` Antoine Terrienne
2005-03-26  0:22     ` Yoshinori K. Okuji
2005-03-26 12:09       ` Antoine Terrienne
2005-03-26 13:52         ` Marco Gerards
2005-03-26 14:55           ` Antoine Terrienne
2005-03-26 15:20             ` Marco Gerards
2005-03-26 19:49               ` Antoine Terrienne
2005-03-26 20:09                 ` Marco Gerards
2005-03-26 13:40       ` Marco Gerards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1DECyY-00023W-AU@lists.gnu.org \
    --to=grub-devel@brisammon.fastmail.fm \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.