> Yoichi Yuasa wrote: > Pak Woon <pak.woon@xxxxxxxxxx> wrote: > > > Hi all, > > > > I am trying to roll-my-own toolchain by following the instructions > > outlined in http://www.linux-mips.org/wiki/Toolchains. I have > > encountered the "cannot create executables" / "crt01.o: No > such file" > > problem. There are a lot of people who see the same thing, > but there > > does not seem to be a definative answer. > > When did you get the message? > building toolchain or ... > > > FYI, my packages are:- > > binutils-2.16.91.0.6-5 > > gcc-4.1.1-1.fc5 > > lib-gcc-4.1.1-1.fc5 > > gcc-gfortran-4.1.1-1.fc5 > > gcc-g++-4.1.1-1.fc5 > > Did you install glibc-devel package? The "compiler cannot create executables" is spit out by the Autoconf-generated configure script when it tries to compile a feature-test program using a some compiler that has no library. That could mean that the development packages are not installed on the host machine for compiling programs against glibc. But it could also possibly mean that the wrong compiler is being run, i.e. a bootstrapping compiler with no library. Use a clean path when building stuff. Before you do anything else: PATH=/bin:/usr/bin Otherwise who knows what will get picked up for execution when all those mountains of scriptology are executing.