GNU Cross Compiler Build Problem

Ben Schmidtke ben@creachanngleann.com
Wed Feb 20 22:38:00 GMT 2019


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?

Ben



More information about the Gcc-help mailing list