[Top][All Lists]

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

compiling on Mac OS X

From: Joseph Naegele
Subject: compiling on Mac OS X
Date: Wed, 7 Aug 2013 09:51:38 -0400

Hi all,

Is it (easily) possible to configure/compile GRUB2 on Mac OS X?
I do NOT want to install GRUB 2 for use on my Mac, I just want the utilities for hobby OS development on my Mac.

I cannot configure GRUB2 without various error messages. I've tried with GCC 4.8 (macports), and I get:

checking whether target compiler is working... no
configure: error: cannot compile for the target

which may be related to the missing GNU 'as' and 'ld'.

With llvm-gcc4.2 and "--with-platform=efi" I get:

configure: error: -mcmodel=large not supported. Upgrade your gcc.

I have installed "objconv", and I've tried "--with-platform=efi" with both compilers, as well as "--target=i386".

Has anyone ever been interested in doing this, or just me?

Joe Naegele

reply via email to

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