Bug 4414 - unrecognized option `-mc68020'
Summary: unrecognized option `-mc68020'
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 21:19 UTC by ivb
Modified: 2007-08-07 01:32 UTC (History)
1 user (show)

See Also:
Host: i686
Target: all
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivb 2007-04-23 21:19:10 UTC
Ñ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'
Comment 1 Andreas Schwab 2007-04-23 23:36:46 UTC
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.
Comment 2 ivb 2007-04-24 08:05:43 UTC
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?

Comment 3 Alan Modra 2007-08-07 01:32:15 UTC
m68k-coff is no longer supported.  You'll need to use an older binutils.