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: strange problem: gcc use incorrect AS


>-----Original Message-----
>From: zhanghongzhong [mailto:hzzhang@online.sh.cn]
>Sent: 21 June 2001 11:33
>To: crossgcc@sourceware.cygnus.com
>Subject: strange problem: gcc use incorrect AS
>
>
>Hi there,
>
>       I met a strange problem when I build my cross-gcc for m68k-coff on 
>Linux Redhat 6.2/7.0 PC, it seems the GCC
>pick up a wrong AS, is the problem because of GCC or autoconf ?

>_mulsi3
>as: unrecognized option `-c68020'
>make[1]: *** [libgcc1-asm.a] Error 1

  The problem is because Gcc doesn't know where to find the AS for 68k.
Assuming you have built and installed the cross-binutils, you just need to
add $prefix/bin to your path.  If you didn't specify a prefix in the 
configure command for your cross binutils, it defaults to /usr/local, so
you'd try a command such as

export PATH=${PATH}:/usr/local/bin

       DaveK
-- 
we are not seats or eyeballs or end users or consumers.
we are human beings - and our reach exceeds your grasp.
                    deal with it.                      - cluetrain.org 


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