This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: h8300-coff build error with gcc-3.5-20040704


"Dave Korn" <dk@artimi.com> writes:

>   Ninety-nine times out of a hundred, when you see an error where
> the assembler is complaining that the compiler-generated files are
> gibberish, and you're building a cross-compiler, you've got your
> path setting wrong, and either the native assembler is being called
> to assemble files for the cross-target, or vice-versa.

I committed a patch back in April that helps to prevent this
situation:

2004-04-29  Ben Elliston  <bje@au.ibm.com>

	* configure.ac (--with-as): Abort if user-supplied assembler
	cannot be executed.
	(--with-ld): Likewise for the linker.
	* configure: Regenerate.

Hopefully it will help newbie cross-compiler users in future!

Ben


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]