> Build binutils for i386-linux-gnu. It'll created a targeted version of as.
>
Hi, even it is building binutils is giving error
configure line: configure --target=i386-linux-gnu
make line: make
./config/tc-i386.h:530: error: array type has incomplete element type
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/home/sudheer/bhaskar/mtp/binutils-2.13.1/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sudheer/bhaskar/mtp/binutils-2.13.1/gas'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/sudheer/bhaskar/mtp/binutils-2.13.1/gas'
make: *** [all-gas] Error 2
what could be the problem?
> Bhaskar Reddy bhaskar-at-cse.iitb.ac.in |gcc-help| wrote:
>> Hi,
>> I'm trying to build a cross compiler on i686 for i386.
>> Configure Line: configure --target=i386-linux-gnu
>> Make Line: make ENABLE-LANGUAGES=C
>>
>> My host/build system type is: i686-pc-linux-gnu
>>
>> But, i'm getting the following error messages:
>>
>> make[2]: *** No rule to make target `/usr/local/bin/i386-linux-gnu-as',
>> needed by `stamp-as'. Stop.
>> make[2]: Leaving directory `/home/sudheer/bhaskar/mtp/build386/gcc'
>> make[1]: *** [all-gcc] Error 2
>> make[1]: Leaving directory `/home/sudheer/bhaskar/mtp/build386'
>> make: *** [all] Error 2
>>
>>
>> How to fix it?
>>
>> thanks in advance.
>>
>>
>
>
--
Bhaskar G. Reddy,
Graduate Student,
Department of CSE,
IIT Bombay