Subject: Re: 68030 code when building for 68060?
To: None <port-amiga@NetBSD.org>
From: Gunther Nikl <gni@gecko.de>
List: port-amiga
Date: 02/07/2005 11:13:21
On Sat, Feb 05, 2005 at 09:26:25PM +0100, Hubert Feyrer wrote:
> 
> I stumbled across the following line in 
> src/sys/arch/amiga/conf/Makefile.amiga:
> 
> 	.if empty(IDENT:M-DM68060)
> 	CMACHFLAGS=     -m68020
> 	.else
> ===>	CMACHFLAGS=     -m68060 -Wa,-m68030 -Wa,-m68851
> 	.endif
> 
> My question is, why bother with producing code for the 68030 when it's 
> known that the target is a 68060?

  Assembler switches are different to compiler switches. With -Wa you
  tell the assembler that it shall recognize certain instructions. Those
  -Wa are nothing to worry about.

  Gunther

-- 
Linux is only free if your time has no value
 - Jamie Zawinski