This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: help regarding native compiler building
On Wed, Jan 30, 2013 at 7:32 AM, Tango Nair <tangotst@yahoo.com> wrote:
>
> i tried the same way. as follows
>
> ./configure --target=mips-unknown-linux --host=mips-unknown-linux --build=i686-pc-linux --enable-languages=c
>
> and exported the cross tool chain in the PATH
>
> i could able to create the native compiler, but it's not working on my target for simple functions such as below
>
> int foo()
> {
> return 0;
> }
>
> it's giving "???bad rtl" as error.
That doesn't look like a GCC error message. I don't know what that might mean.
Ian