Subject: Query about gnu/usr.bin/gcc/backend/Makefile
To: None <tech-toolchain@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-toolchain
Date: 02/24/2002 11:42:38
Why does that Makefile set TARGET_NAME in the manner:

CPPFLAGS+=      -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} 
${G_INCLUDES:M-I*:N-I.*} \
                 -DTARGET_NAME=\"${MACHINE_GNU_ARCH}-netbsd\"

instead of using ${MACHINE_GNU_PLATFORM} in TARGET_NAME?
Currently TARGET_NAME doesn't have -netbsdelf for those formerly
a.out platforms.  And shouldn't TARGET_NAME have "--" instead of "-"?
It does in the Makefiles produced by configure...

-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message