[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-factory
Subject:    Re: [opensuse-factory] Cross compiling for mips 32-bit
From:       Sid Boyce <sboyce () blueyonder ! co ! uk>
Date:       2009-05-19 15:01:17
Message-ID: 4A12C9BD.1070106 () blueyonder ! co ! uk
[Download RAW message or body]

Richard Guenther wrote:
> On Tue, 19 May 2009, Sid Boyce wrote:
> 
>> Richard Guenther wrote:
>>> On Sun, 17 May 2009, Sid Boyce wrote:
>>>
>>>> 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.
>>>
>> ./configure --host=x86_64-suse-linux --target=mips32 --with-gnu-as
>> --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.
> 
Thanks, I shall give that a try.
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@opensuse.org
For additional commands, e-mail: opensuse-factory+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic