[OpenBIOS] Compiling Openbios with Sparc cross compiler

Andreas Färber afaerber at suse.de
Fri Jun 1 11:40:51 CEST 2012


Am 01.06.2012 02:48, schrieb P. Wilhelm:
> I've tried to set up a new machine to compile Openbios for Sparc32. The
> machine is x86. OS is Arch Linux. I got all tools from the Arch packages
> except binutils (2.22) and gcc (4.7.0) source.
> 
> I used configuration parameters for sparc-elf-gcc as given by Blue last
> year on this group. But, I keep running into a compile error for the
> bootstrap that says that __u32 is not defined (also __u64).

I recently built a new set of cross-compilers for sparc-elf myself and
ran into no issues with binutils 2.22 and gcc 4.7.0 (on openSUSE 12.1).

Here's my configure command lines:

../binutils-2.22/configure --prefix=/usr/local --target=sparc-elf \
 --disable-nls

../gcc-4.7.0/configure --prefix=/usr/local --target=sparc-elf \
 --disable-nls --enable-languages=c --disable-libssp

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



More information about the OpenBIOS mailing list