[Top][All Lists]

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

Re: Is objconv a requirement for building Grub?

From: Vladimir 'phcoder' Serbinenko
Subject: Re: Is objconv a requirement for building Grub?
Date: Wed, 10 Aug 2016 16:01:20 +0000

Le Tue, Apr 19, 2016 à 5:34 AM, Andrei Borzenkov <address@hidden> a écrit :
That's more in place on grub-devel.

19.04.2016 03:27, Eric Andrew Lewis пишет:
> I'm trying to build a patched version of Grub from source on a Mac. I've
> installed all the requirements in the INSTALL file, but got an error while
> running ./configure
> configure: error: objconv not found which is required when building with
> apple compiler

obconv is used when using Apple linker instead of GNU ld (mesage is
misleading here). If you installed all requirements, you should also
have binutils which includes GNU ld and GCC. In this case any reason you
do not use them?

We use whatever compiler and linker user asked us to use.
We check if -Wl,-melf_i386 is supported. If it is we just use it. If not we try to use apple compiler+objconv. So you need to check that your setup supports -Wl,-melf_i386.
I suppose it is possible to build grub using native Apple cc/ld, in
which case it probably becomes relevant.

> I assume I should install objconv <>?
> If so, can we add this to the Requirements list?

Sure, I just wonder if someone can name more specific version requirements.

Grub-devel mailing list

reply via email to

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