This is the mail archive of the gcc@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: Build fail


To build a GCC corss compiler it would be good to use a specail tool
that is called "crosstool". You may look at the following links:

1. http://kegel.com/crosstool/
2. http://kegel.com/crosstool/current/doc/crosstool-howto.html

On 2/9/07, Bhaskar Reddy <bhaskar@cse.iitb.ac.in> wrote:

> 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






--
Ferad Zyulkyarov
Barcelona Supercomputing Center


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