Ñonfigure binutils with option --enable-targets=all --enable-shared --program- prefix=all-target- --prefix=/usr/local/binutils During compilation "gcc" with options --enable-shared \ --enable-languages=c \ --verbose \ --program-prefix=m68k-coff- \ --with-as=/usr/local/binutils/bin/all-target-as --with-ld=/usr/local/binutils/bin/all-target-ld --target=m68k-coff \ Error: /usr/local/binutils/bin/all-target-as: unrecognized option `-mc68020'
The assembler can only be configured for a single target cpu (which defaults to host if not given). You need to configure binutils for the same primary target as the compiler.
Configure binutils witch option: --target=m68k-coff --enable-shared, --target=m68k-none-coff, --target=m68k-coff-none, --target=m68k-*-coff, successfull. During compilation error: "This target is no longer supported in gas" What target value correct?
m68k-coff is no longer supported. You'll need to use an older binutils.