This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Changes in mode switching


Hello,

I reproduced the failure and found reason of it. I understood haw it
resolve and now I need small changes only - additional argument of
EMIT_MODE_SET. Is it good fo trunk?

Thank you,
Vladimir

2012-09-14  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>

        * (optimize_mode_switching): Added an argument EMIT_MODE_SET calls.

        * config/epiphany/epiphany.h (EMIT_MODE_SET): Added an argument.

        * config/i386/i386.h (EMIT_MODE_SET): Added an argument.

        * config/sh/sh.h (EMIT_MODE_SET): Added an argument.


2012/8/29 Vladimir Yakovlev <vbyakovl23@gmail.com>:
> I built using last configure.
>
> Thank you,
> Vladimir
>
> 2012/8/29 Kaz Kojima <kkojima@rr.iij4u.or.jp>:
>>> I tryed
>>>
>>> ../gcc/configure --host=i686-pc-linux-gnu
>>> --target=sh4-unknown-linux-gnu --enable-build-with-cxx --enable-lto
>>> --enable-shared --enable-threads=posix --enable-clocale=gnu
>>> --enable-libitm --enable-libgcj
>>> --with-ld=/usr/local/bin/sh4-unknown-linux-gnu-ld
>>> --with-as=/usr/local/bin/sh4-unknown-linux-gnu-as
>>> --with-sysroot=/exp/ldroot --with-mpfr=/opt2/i686-pc-linux-gnu
>>> --with-mpc=/opt2/i686-pc-linux-gnu
>>> --with-libelf=/opt2/i686-pc-linux-gnu --with-ppl=no
>>> --enable-languages=c,c++,fortran,java,lto,objc
>>> --prefix=/export/users/mstester/stability/work/trunk/64/install_sh4
>>>
>>> and have got build error. make.log attached. Could you take a look?
>>
>> make.log says
>>
>>> make[2]: i686-pc-linux-gnu-ar: Command not found
>>
>> It looks your build system is x86_64-unknown-linux-gnu.
>> Perhaps with specifying --host=x86_64-unknown-linux-gnu instead
>> of --host=i686-pc-linux-gnu in your configuration, that error
>> could be resolved, though
>>
>>> --with-ld=/usr/local/bin/sh4-unknown-linux-gnu-ld
>>> --with-as=/usr/local/bin/sh4-unknown-linux-gnu-as
>>> --with-sysroot=/exp/ldroot --with-mpfr=/opt2/i686-pc-linux-gnu
>>> --with-mpc=/opt2/i686-pc-linux-gnu
>>> --with-libelf=/opt2/i686-pc-linux-gnu
>>
>> are strongly specific to my environment.  Maybe
>>
>>   ../gcc/configure --host=x86_64-unknown-linux-gnu --target=sh4-unknown-linux-gnu --enable-languages=c
>>
>> and
>>
>>   make all-gcc
>>
>> is enough to get cc1 for sh4-unknown-linux-gnu.
>>
>> Best Regards,
>>         kaz

Attachment: middle.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]