gcc failing for mips cross-compile
hiren panchasara
hiren.panchasara at gmail.com
Fri Sep 27 20:08:00 UTC 2013
Anyone?
Is this not the correct list? Am I not asking the correct question?
Any pointers/help would be appreciated.
cheers,
Hiren
On Wed, Sep 25, 2013 at 10:26 PM, hiren panchasara <
hiren.panchasara at gmail.com> wrote:
>
>
>
> On Wed, Sep 25, 2013 at 3:59 PM, hiren panchasara <
> hiren.panchasara at gmail.com> wrote:
>
>> Checked out -head at 255871 and did:
>>
>> sudo make -DNO_CLEAN TARGET=mips TARGET_ARCH=mipseb TARGET_CPUARCH=mips32
>> toolchain
>>
>
>> Which failed in "stage 4.2: building libraries" section at:
>>
>> In file included from
>> /usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:34:
>> ./tm.h:5:28: error: mips32/mips32.h: No such file or directory
>> ./tm.h:12:29: error: mips32/freebsd.h: No such file or directory
>> In file included from
>> /usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:43:
>> /usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.h:60:
>> error: 'FIRST_PSEUDO_REGISTER' undeclared here (not in a function)
>> *** Error code 1
>>
>> Stop.
>> make[4]: stopped in /usr/home/hirenp/mips_head/gnu/lib/libgcc
>> *** Error code 1
>>
>> Let me know if more info is needed of any sort.
>> Any help is appreciated.
>>
>
> So, following worked:
> sudo make TARGET=mips TARGET_ARCH=mipseb TARGET_CPUARCH=mips toolchain
>
> What does that mean?
>
> how do I get/know 32bit mips setup?
>
> Thanks,
> Hiren
>
>
>
More information about the freebsd-toolchain
mailing list