It looks like the error is happening while building the i686-unknown-linux-gnu cross-compiler, so it is not surprising that the install directory is empty of files.
The first point is that you need to have a fully installed host toolchain, including the gnu binutils. Probably your linux distro provides some package for binutils. However, if you're compiling for i686 on an i686, you might be able to use your host gcc directly, just use the -static flag while compiling spec to build a static binary. On Sat, Feb 5, 2011 at 12:27 PM, sunitha p <[email protected]> wrote: > Thank you for ur reply... > > i dint get ur first point... > > w.r.t second..its right...its accessing binutils properly... > > in /opt/crosstool/....../i686-unknown-linux-gnu directory > > have three sub dir...but in lib and usr....its empty..y it is so...is it > because its not installed completely...? > > > On Sat, Feb 5, 2011 at 10:16 AM, Gedare Bloom <[email protected]> wrote: >> >> It looks like it isn't finding your host binutils. You may need to >> install the full host compiler toolchain first? >> >> You'll also need to ensure the cross binutils are in your path in >> order for gcc to properly link anyways (I think that tool puts them in >> /opt/crosstool by default). >> >> On Fri, Feb 4, 2011 at 3:57 PM, sunitha p <[email protected]> wrote: >> > hi all... >> > >> > i need to get static binaries of spec2006 benchmarks to work on m5. >> > >> > SO i tried to install the cross compiler from www.kegel.com/crosstool >> > >> > but facing some errors >> > >> > >> > i686-host_pc-linux-gnu-ar rc ./libiberty.a \ >> > ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o >> > ./alloca.o >> > ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o >> > ./dyn-string.o >> > ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o >> > ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o >> > ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o >> > ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o >> > ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o >> > ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o >> > ./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o >> > ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o >> > ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./setproctitle.o >> > ./strncmp.o >> > /bin/bash: i686-host_pc-linux-gnu-ar: command not found >> > make[2]: *** [libiberty.a] Error 127 >> > make[2]: Leaving directory >> > >> > `/home/sunita/Desktop/crosstool-0.43/build/i686-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/build-binutils/libiberty' >> > make[1]: *** [all-libiberty] Error 2 >> > make[1]: Leaving directory >> > >> > `/home/sunita/Desktop/crosstool-0.43/build/i686-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/build-binutils' >> > make: *** [all] Error 2 >> > >> > can anyone help me in dis regard >> > >> > Thank you >> > >> > -- >> > Sunitha.P >> > 9092892876 >> > >> > >> > _______________________________________________ >> > m5-users mailing list >> > [email protected] >> > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users >> > >> _______________________________________________ >> m5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > > > > -- > Sunitha.P > 9092892876 > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
