Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 22:26:38 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        freebsd-toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: gcc failing for mips cross-compile
Message-ID:  <CALCpEUFZPiToDs8Pd%2B2sFULKMj_0AuR81qS1MXRm7UFaWmf8Mg@mail.gmail.com>
In-Reply-To: <CALCpEUGanJQkcZZcU%2BG7nChfS-j-zZDKgPZJDkpMbUWtH7Emrw@mail.gmail.com>
References:  <CALCpEUGanJQkcZZcU%2BG7nChfS-j-zZDKgPZJDkpMbUWtH7Emrw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 25, 2013 at 3:59 PM, hiren panchasara <
hiren.panchasara@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUFZPiToDs8Pd%2B2sFULKMj_0AuR81qS1MXRm7UFaWmf8Mg>