> Bhaskar Reddy bhaskar-at-cse.iitb.ac.in |gcc-help| 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? >> > Is there an error above that about a missing include file? > No, there is only one error. Few lines above error are: In file included from ./targ-cpu.h:1, from ./config/obj-elf.h:42, from ./obj-format.h:1, from ./config/te-linux.h:4, from targ-env.h:1, from as.h:614, from app.c:30: ./config/tc-i386.h:530: error: array type has incomplete element type may be i'm using wrong version of binutils that is too advanced to be compatible wih i386? if that's the reason, what versions of GCC and binutils i have to use? -- Bhaskar