This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

AW: Compile a new cross compiler


Hello,

>I work with cygwin 1.1.8.
>  Are you using the --exec-prefix for any reason other than because that's
>how old (beta) versions of cygwin are set up ?

thank you for your answer. I think that there is no reason to use the
--exec-prefix. I have found in a description of eCos for which I make an
cross compiler.

Have you any idea why I receive the following error message:


/src/binutils/binutils-2.10.1/configure --target=i386-coff \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-cygwin \
-v 2>&1 | tee configure.out 

This runs without problem, but if I make then the binutils with

 make -w all install 2>&1 | tee make.out

I receive the following error

for i in coff-i386.lo cofflink.lo cpu-i386.lo  ; do \
  case " $f " in \
    *" $i "*) ;; \
    *) f="$f $i" ;; \
  esac ; \
done ; \
echo $f > tofiles
/bin/sh /src/binutils/binutils-2.10.1/bfd/../move-if-change tofiles ofiles
touch stamp-ofiles
/bin/sh ./libtool --mode=link gcc  -g -O2 -W -Wall  -o libbfd.la -rpath
--exec-p
refix=/tools_i386_coff/H-i686-pc-cygwin/lib -release 2.10.1  archive.lo
archures
.lo bfd.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo
opncls.lo
 reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo
tekh
ex.lo ihex.lo stabs.lo stab-syms.lo `cat ofiles`
libtool: link: only absolute run-paths are allowed
make[3]: *** [libbfd.la] Error 1
make[3]: Leaving directory `/tmp/build/binutils/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/build/binutils/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/build/binutils/bfd'
make: *** [all-bfd] Error 2
make: Leaving directory `/tmp/build/binutils'

Can anyone help?

Hansjoerg


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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