Mailinglist Archive: opensuse-factory (257 mails)
| < Previous | Next > |
Re: [opensuse-factory] Cross compiling for mips 32-bit
- From: Richard Guenther <rguenther@xxxxxxx>
- Date: Tue, 19 May 2009 11:27:53 +0200 (CEST)
- Message-id: <alpine.LNX.2.00.0905191127370.25789@xxxxxxxxxxxxxx>
On Sun, 17 May 2009, Sid Boyce wrote:
You need a mips crosscompiler which we do not have a package for.
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
I have cross-mips-binutils installed and the man page for gcc says it
should work. The board is the Omnima board based on the Infineon
ADM5120. I'm trying to cross compile on 11.2 Milestone 1 x86_64.
Any help appreciated or perhaps I need to open a bug.
You need a mips crosscompiler which we do not have a package for.
Richard.
# make
<stuff truncated>
CRC-CCITT functions (CRC_CCITT) [M/y/?] m
CRC16 functions (CRC16) [M/y/?] m
CRC ITU-T V.41 functions (CRC_ITU_T) [M/y/?] m
CRC32 functions (CRC32) [Y/?] y
CRC7 functions (CRC7) [M/y/?] m
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [M/y/?] m
#
# configuration written to .config
#
gcc: 0: No such file or directory
gcc: unrecognized option '-G'
gcc: unrecognized option '-EL'
cc1: error: unrecognized command line option "-mabi=32"
cc1: error: unrecognized command line option "-mno-abicalls"
cc1: error: unrecognized command line option "-mips32"
scripts/kconfig/conf -s arch/mips/Kconfig
gcc: 0: No such file or directory
gcc: unrecognized option '-G'
gcc: unrecognized option '-EL'
cc1: error: unrecognized command line option "-mabi=32"
cc1: error: unrecognized command line option "-mno-abicalls"
cc1: error: unrecognized command line option "-mips32"
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC kernel/bounds.s
gcc: 0: No such file or directory
gcc: unrecognized option '-G'
gcc: unrecognized option '-EL'
cc1: error: unrecognized command line option "-mabi=32"
cc1: error: unrecognized command line option "-mno-abicalls"
cc1: error: unrecognized command line option "-mips32"
make[7]: *** [kernel/bounds.s] Error 1
make[6]: *** [prepare0] Error 2
make[5]: *** [prepare] Error 2
make[5]: Leaving directory
`/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5'
make[4]:
[/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5/.configured]
Error 2 (ignored)
rm -rf
/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/modules
touch
/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5/.configured
rm -f
/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5/vmlinux
/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5/System.map
make -C
/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5
CROSS_COMPILE="" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash"
CC="gcc" modules
gcc: 0: No such file or directory
gcc: unrecognized option '-G'
gcc: unrecognized option '-EL'
cc1: error: unrecognized command line option "-mabi=32"
cc1: error: unrecognized command line option "-mno-abicalls"
cc1: error: unrecognized command line option "-mips32"
make[5]: Entering directory
`/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC kernel/bounds.s
gcc: 0: No such file or directory
gcc: unrecognized option '-G'
gcc: unrecognized option '-EL'
cc1: error: unrecognized command line option "-mabi=32"
cc1: error: unrecognized command line option "-mno-abicalls"
cc1: error: unrecognized command line option "-mips32"
make[6]: *** [kernel/bounds.s] Error 1
make[5]: *** [prepare0] Error 2
make[5]: Leaving directory
`/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5'
make[4]: ***
[/home/lancelot/ftp/may09/kamikaze_8.09/build_dir/linux-adm5120_router_le/linux-2.6.26.5/.modules]
Error 2
make[4]: Leaving directory
`/home/lancelot/ftp/may09/kamikaze_8.09/target/linux/adm5120'
make[3]: *** [compile] Error 2
make[3]: Leaving directory
`/home/lancelot/ftp/may09/kamikaze_8.09/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/lancelot/ftp/may09/kamikaze_8.09'
make[1]: ***
[/home/lancelot/ftp/may09/kamikaze_8.09/staging_dir/mipsel/stamp/.target_compile]
Error 2
make[1]: Leaving directory `/home/lancelot/ftp/may09/kamikaze_8.09'
make: *** [world] Error 2
lancelot@slipstream:~/ftp/may09/kamikaze_8.09>
Regards
Sid.
--
Richard Guenther <rguenther@xxxxxxx>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |