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]

RE: arm cross error


>-----Original Message-----
>From: Cristian Amitroaie [mailto:Cristian.Amitroaie@nobugconsulting.ro]
>Sent: 15 March 2001 09:03

>how can I pass over this error?
>
>--------------------------------------------------------------
>
>  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>  mv libgcc1.o ${name}.o; \
>  arm-coff-ar rc tmplibgcc1.a ${name}.o; \
>  rm -f ${name}.o; \
>done
>_udivsi3
>/bin/sh: arm-coff-ar: command not found
>_divsi3
>/bin/sh: arm-coff-ar: command not found
>_umodsi3
>/bin/sh: arm-coff-ar: command not found
>_modsi3
>/bin/sh: arm-coff-ar: command not found
>_dvmd_tls
>/bin/sh: arm-coff-ar: command not found
>rm -f libgcc1.S
>mv tmplibgcc1.a libgcc1-asm.a
>mv: tmplibgcc1.a: No such file or directory
>make[1]: *** [libgcc1-asm.a] Error 1
>make[1]: Leaving directory `/home/Cristian/b-gcc/gcc'
>make: *** [all-gcc] Error 2 
>
>----------------------------------------------------------
>
>target=arm-coff

  The compile process is trying to build libgcc for the arm target.  It
needs the arm cross binutils to do so, but for some reason it can't find
the cross ar utility.  There are two possible reasons for this: either 
you didn't build and install the cross binutils yet, or you built and
installed them with a different --prefix setting from the one you're
using to build Gcc.  It's an unfortunate (because it could be worked around,
but hasn't yet) requirement of building Gcc that you use the same prefix
settings for the binutils as for the compiler.

  If that isn't the problem, perhaps your path setting doesn't include
the path to the install directory for the cross binutils - $prefix/bin
should be on your path (and $prefix/arm-coff/bin must *not* be).


      DaveK
--
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
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]