a9fc136dbd
works. sparc & i386 support is included here. libstdc++-v3 does not yet properly build for some strange reasons (that may be due to broken netbsd header files, it's not yet clear) but i have been able to compile, link and run both i386 & sparc hello.c.
18 lines
391 B
Makefile
18 lines
391 B
Makefile
# $NetBSD: Makefile,v 1.1 2003/07/25 16:32:50 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${.CURDIR}/../../arch/${MACHINE_ARCH}/defs.mk"
|
|
|
|
.cc: # disable .cc->NULL transform
|
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist/gcc
|
|
|
|
INCS= ${G_backward_headers}
|
|
INCSDIR= /usr/include/g++/backward
|
|
|
|
.PATH: ${DIST}/libstdc++-v3/include/backward
|
|
|
|
# Get default targets including <bsd.inc.mk>.
|
|
.include <bsd.prog.mk>
|