Subject: re: CVS commit: src/gnu/lib/libstdc++-v3_4/arch/sparc64
To: matthew green <mrg@eterna.com.au>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 08/24/2006 08:36:20
On Aug 24,  7:06pm, mrg@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: src/gnu/lib/libstdc++-v3_4/arch/sparc64

| 
|    In article <20060823125501.17250211CA@cvs.netbsd.org>,
|    matthew green  <mrg@netbsd.org> wrote:
|    >
|    >Module Name:	src
|    >Committed By:	mrg
|    >Date:		Wed Aug 23 12:55:01 UTC 2006
|    >
|    >Modified Files:
|    >	src/gnu/lib/libstdc++-v3_4/arch/sparc64: c++config.h config.h
|    >
|    >Log Message:
|    >regenerate with partly-fixed gcc4/libstdc++-v3 configury.
|    >
|    >
|    >To generate a diff of this commit:
|    >cvs rdiff -r1.3 -r1.4 src/gnu/lib/libstdc++-v3_4/arch/sparc64/c++config.h \
|    >    src/gnu/lib/libstdc++-v3_4/arch/sparc64/config.h
|    >
|    >Please note that diffs are not public domain; they are subject to the
|    >copyright notices on the relevant files.
|    
|    Doesn't this need now:
|    
|    .if ${OBJECT_FMT} == "ELF"
|    LIBDPLIBS= intl ${.CURDIR}/../../../lib/libintl
|    .else
|    # XXX: This is broken right now and we need to link manually with -lintl
|    .endif
|    
|    In the Makefile?
| 
| why?  my build works ok?

c++config.h
< my i386
> sparc64
452c452
< #define _GLIBCXX_HAVE_S_IFREG 1
---
> /* #undef _GLIBCXX_HAVE_S_IFREG */
810c810
< #define _GLIBCXX_USE_NLS 1
---
> /* #undef _GLIBCXX_USE_NLS */

config.h
< my i386
> sparc64
181c181
< #define HAVE_LIBINTL_H 1
---
> /* #undef HAVE_LIBINTL_H */
346c346
< #define HAVE_S_IFREG 1
---
> /* #undef HAVE_S_IFREG */
391c391
< #define HAVE__ACOSF 1
---
> /* #undef HAVE__ACOSF */
397c397
< #define HAVE__ASINF 1
---
> /* #undef HAVE__ASINF */
403c403
< #define HAVE__ATAN2F */
---
> /* #undef HAVE__ATAN2F */
409c409
< #define HAVE__ATANF 1
---
> /* #undef HAVE__ATANF */
415c415
< #define HAVE__CEILF 1
---
> /* #undef HAVE__CEILF */
421c421
< #define HAVE__COPYSIGN 1
---
> /* #undef HAVE__COPYSIGN */
427c427
< #define HAVE__COSF 1
---
> /* #undef HAVE__COSF */
430c430
< #define HAVE__COSHF 1
---
> /* #undef HAVE__COSHF */
439c439
< #define HAVE__EXPF 1
---
> /* #undef HAVE__EXPF */
445c445
< #define HAVE__FABSF 1
---
> /* #undef HAVE__FABSF */
451c451
< #define HAVE__FINITE 1
---
> /* #undef HAVE__FINITE */
454c454
< #define HAVE__FINITEF 1
---
> /* #undef HAVE__FINITEF */
460c460
< #define HAVE__FLOORF 1
---
> /* #undef HAVE__FLOORF */
466c466
< #define HAVE__FMODF 1
---
> /* #undef HAVE__FMODF */
704c704
< #define _GLIBCXX_USE_NLS 1
---
> /* #undef _GLIBCXX_USE_NLS */

So you are not using libintl or NLS, this is probably why you don't need
libintl. But we have all these functions... Why doesn't mknative find them?

christos