strange problem: gcc use incorrect AS

David Korn
Thu Jun 21 07:13:00 GMT 2001

>-----Original Message-----
>From: zhanghongzhong [ ]
>Sent: 21 June 2001 11:33
>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 ?

>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

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

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.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list