Date: Fri, 27 Sep 2013 13:07:57 -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: <CALCpEUEh8q9fC-Kxyg4sS9DRDJ=cHDGdgtcLjzNP2uCzX0-Btw@mail.gmail.com> In-Reply-To: <CALCpEUFZPiToDs8Pd%2B2sFULKMj_0AuR81qS1MXRm7UFaWmf8Mg@mail.gmail.com> References: <CALCpEUGanJQkcZZcU%2BG7nChfS-j-zZDKgPZJDkpMbUWtH7Emrw@mail.gmail.com> <CALCpEUFZPiToDs8Pd%2B2sFULKMj_0AuR81qS1MXRm7UFaWmf8Mg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com> wrote: > > > > 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?CALCpEUEh8q9fC-Kxyg4sS9DRDJ=cHDGdgtcLjzNP2uCzX0-Btw>