Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 06/03/2003 03:16:50
Module Name:	src
Committed By:	uwe
Date:		Tue Jun  3 03:16:49 UTC 2003

Modified Files:
	src/lib/libc/stdlib: atoll.c
	src/tools/compat: Makefile compat_defs.h configure configure.ac

Log Message:
Add atoll(3) to libnbcompat.  We need it when building target's gcc
for a 64-bit target on a 32-bit host.

NB: There seems to be a bug in either gcc itself or the way we import
it, b/c the incorrect #define HAVE_ATOLL is picked from (e.g. for
sparc64) gnu/usr.bin/gcc/arch/sparc64/auto-host.h - so when gen*
auxilary (host) programs are built in gnu/usr.bin/gcc/backend, they
incorrectly pick-up target's HAVE_ATOLL.

For now providing atoll(3) in libnbcompat is a simple and sufficient
workaround.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/lib/libc/stdlib/atoll.c
cvs rdiff -r1.23 -r1.24 src/tools/compat/Makefile
cvs rdiff -r1.26 -r1.27 src/tools/compat/compat_defs.h
cvs rdiff -r1.36 -r1.37 src/tools/compat/configure \
    src/tools/compat/configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.