strange problem: gcc use incorrect AS

David Korn
Fri Jun 22 03:42:00 GMT 2001

>-----Original Message-----
>From: zhanghong zhong [ ]
>Sent: 21 June 2001 17:23

>can I put the cross-binutils  and cross-gcc in a different directory ?  how

>to solve the problem ?

  Sorry, you have to configure gcc and binutils using the same prefix;
that represents an assumption that is hard coded into an awful lot of
places.  As you have seen, the prefix is hardcoded into the cross gcc, 
which is why the build failed when the cross gcc was trying to compile
libgcc for the target.  Gcc doesn't search the PATH setting for binutils;
the reason that you need to add them to your path as part of the build
process is so that the makefiles and shell scripts can find them, it makes
no difference to the new compiler itself.


  Can I suggest using --prefix=/usr/local/swtools/cross-tools for both, for

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