Subject: Re: new toolchain MACHINE_ARCH/MACHINE_CPU question
To: Matthew Fredette <fredette@MIT.EDU>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 12/08/2001 15:21:37
On Sat, Dec 08, 2001 at 06:02:37PM -0500, Matthew Fredette wrote:

 > Today I tried out build.sh for the first time, trying to build for the
 > sun2.  It quit trying to do a cleandir in gnu/lib/libbfd, because
 > it couldn't find arch/m68000/defs.mk (the sun2 MACHINE_ARCH is m68000).
 > 
 > Should gnu/lib/libbfd (and/or other new-toolchainified directories) be
 > using MACHINE_CPU, or should I just go around and dupe arch/m68k
 > directories as arch/m68000 (since I'm not in a position to run
 > toolchain2netbsd)?

No, duplicate it ... the MACHINE_ARCH sets the default byte order for
some targets (e.g. mipseb vs. mipsel).

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>