[SeaBIOS] [PATCH] ld: don't hardcode "-melf_i386"

Roger Pau Monné roger.pau at citrix.com
Tue Apr 15 20:22:38 CEST 2014


On 15/04/14 19:57, Idwer Vollering wrote:
> 2014-04-15 19:22 GMT+02:00 Roger Pau Monne <roger.pau at citrix.com>:
>> On FreeBSD, the name of the emulation is "-melf_i386_fbsd", so allow
>> SeaBIOS to fetch the emulation to use from the environment variables.
>>
>> This allows SeaBIOS to compile on FreeBSD with gcc.
> 
> What about clang? On FreeBSD >= 10 you need gcc from ports.

Well, as stated on the commit message, this only fixes the linker issue,
it still requires gcc. I will certainly look into getting it compiled
with clang, but it is not a priority for me right now.

Roger.



More information about the SeaBIOS mailing list