Subject: Re: toolchain/34528: when crosscompiling for sun3, can't specify -m68020
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jason Thorpe <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 09/14/2006 20:55:02
The following reply was made to PR toolchain/34528; it has been noted by GNATS.

From: Jason Thorpe <thorpej@shagadelic.org>
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: toolchain/34528: when crosscompiling for sun3, can't specify -m68020
Date: Thu, 14 Sep 2006 13:46:26 -0700

 On Sep 14, 2006, at 1:38 PM, Izumi Tsutsui wrote:
 
 > I think you have to use "CPUFLAGS=-m68020 -Wa,-mc68020".
 > sys/arch/sun68k/stand/libsa/Makefile specifies
 > "-mc68000 -Wa,-mc68010 -Wa,-m68851" for sun2 support,
 > so you have to override -Wa args too.
 
 That's annoying.  libsa/Makefile should completely override and ignore  
 ANY user-specified settings.  i386 standalone code does this, IIRC.
 
 -- thorpej