[flashrom] [PATCH] Cross-compilation fixes

Rudolf Marek r.marek at assembler.cz
Thu Dec 8 20:38:34 CET 2011


On 5.12.2011 03:00, Carl-Daniel Hailfinger wrote:
> Switch from host OS detection to target OS detection.
> Complain about unknown target OS/architecture.
> Disable annoying format string warnings on DJGPP.
>
> Native and cross-compilation now usually just require setting CC.
> Examples:
> make CC=i586-pc-msdosdjgpp-gcc
> make CC="clang -m64"
> make CC=i686-w64-mingw32-gcc
>
> I tested the following compilation types:
> i386 Linux native (gcc, clang)
> i386 Linux ->  x86_64 Linux (clang)
> i386 Linux ->  MinGW32
> i386 Linux ->  DJGPP
>
> I'd appreciate tests for:
> x86_64 Linux native
> MinGW native
> Cygwin native
> powerpc Linux native
>    
make CC=powerpc-unknown-linux-gnuspe-gcc
flashrom: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.22, 
with unknown capability 0x41000000 = 0x13676e75, with unknown capability 
0x10000 = 0xb0402, not stripped

This was with e500. There is a lot of powerPCs like 60x and 4xx.

make CC=armel-unknown-linux-gnueabi-gcc
Checking for a C compiler... found.
Target arch is unknown. Aborting.
make: *** [compiler] Error 1

Thanks
Rudolf
Most likely no arm support?




More information about the flashrom mailing list