Mailinglist Archive: opensuse-factory (257 mails)
| < Previous | Next > |
Re: [opensuse-factory] Cross compiling for mips 32-bit
- From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
- Date: Tue, 19 May 2009 16:01:17 +0100
- Message-id: <4A12C9BD.1070106@xxxxxxxxxxxxxxxx>
Richard Guenther wrote:
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
On Tue, 19 May 2009, Sid Boyce wrote:Thanks, I shall give that a try.
Richard Guenther wrote:
On Sun, 17 May 2009, Sid Boyce wrote:./configure --host=x86_64-suse-linux --target=mips32 --with-gnu-as
I have cross-mips-binutils installed and the man page for gcc says itYou need a mips crosscompiler which we do not have a package for.
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.
Richard.
--with-gnu-ld --prefix /usr/local
This as far I get so far with make.
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether ldgetname is declared... no
checking whether times is declared... yes
checking whether sigaltstack is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
*** Configuration mips642-unknown-elf not supported
make[1]: *** [configure-gcc] Error 1
make[1]: Leaving directory `/home/lancelot/ftp/may09/gcc-4.3.3'
make: *** [all] Error 2
It's not that easy ;) I suggest you take the gcc43 source package
and edit the change_spec file to handle mips32 the same as either
avr or spu (dependent on whether you need newlib). Then source
pre_checkin.sh and use rpmbuild to build the cross-mips*.spec
file.
Richard.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |