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 compiler under Cygwin


>-----Original Message-----
>From: nhat.dao@philips.com [mailto:nhat.dao@philips.com]
>Sent: 15 March 2001 15:58


>now, i have some pb about arm library.
>Somebody can help me to understand lisbgcc.a and Cross-Compilers ?
>(www.objsw.com/docs/gcc_51.hrml)
>i don t see binds with my problem ????
>
>make LANGUAGES= « c++ »

  I hope you're using real quote marks (") and not those funny double-angle
brackets that have shown up in your mail.

>=> /cygdrive/c/TEMP/cc0ZPKWm.s: Assembler messages:
>/cygdrive/c/TEMP/cc0ZPKWm.s:2: Error: Rest of line ignored. 
>First ignored character
>is `@'.
>[...]
>make[1]: *** [libgcc1-asm.a] Error 1

  The error is because the wrong assembler is being called to try and
compile these libgcc functions.  The libgcc code is linked as part of your
arm executables, so it has to be assembled with the arm cross compiler,
but in your build the i386 assembler is being run instead, and naturally
it doesn't understand arm assembly code.

  Either you haven't yet built and installed the cross binutils for arm, or
you used a different setting for --prefix for the binutils compared to the
--prefix setting you are using for the compiler, or you haven't included
the cross binutils bin directory in your path ($prefix/bin, which is
usually /usr/local/bin).

      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]