<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 30.11.2009 um 02:33 schrieb G 3:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> <br><div><div>On Nov 29, 2009, at 6:22 PM, <a href="mailto:openbios-request@openbios.org">openbios-request@openbios.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">It's probably not an OpenBIOS build problem. I was able to execute an <span class="Apple-converted-space">&nbsp;</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">OSX-built OpenBIOS on Linux and OpenSolaris. Executing a Linux-built <span class="Apple-converted-space">&nbsp;</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">OpenBIOS on OSX/ppc failed. Using same GCC 4.4.2 and binutils 2.20.</font></div> </blockquote></div><br><div>You were able to build OpenBIOS on Mac OS X? If so, how? Every attempt I made has failed. I'm using GCC 4.0.1. Could it be a problem with my compiler version?</div></div></blockquote><div><br></div></div>You cannot build OpenBIOS with Apple's gcc 4.0.1. The 'gcc' installed by Xcode builds Mach-O binaries, not ELF binaries. You therefore need a cross-compiler and `./config/scripts/switcharch cross-ppc`.<div><br></div><div>I compiled the following in order, all of which were the latest stable versions:<div><br></div><div>GMP 4.3.1 - note: on ppc64 host supply ABI=mode32 to its configure script or it may build a 64-bit library that gcc later chokes on</div><div>MPFR 2.4.1</div><div>binutils 2.20</div><div>GCC 4.4.2</div><div><br></div><div>For GCC configure options please refer to Blue Swirl's post. I used --target=powerpc-elf, but it was recently discussed whether --target=powerpc-eabi is better or equal.</div><div><br></div><div>Andreas</div></div></body></html>