GNU Cross Compiler Build Problem
Andrew Haley
aph@redhat.com
Thu Feb 21 18:31:00 GMT 2019
On 2/20/19 10:06 PM, Ben Schmidtke wrote:
> I am trying to build a m68k-elf cross compiler. I have tried several
> source revisions, currently I'm working with 8.2.0. After
> configuring the build, it fails when it attempts to generate
> genmodes.o The assembler (m68k-elf-as) is complaining about getting
> a --64 flag. This flag would appear to be intended for the native
> x86 assembler, not the cross assembler. What I can't tell is whether
> the wrong compiler/assembler are being called or if the flag is
> being incorrectly specified. Is genmodes being built for the host or
> the target?
I can't tell you how much it would help if you told us how you configured
GCC and binutils.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the Gcc-help
mailing list