This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
build/2410: Missing -lintl in sim/ppc
- From: tr at oxlug dot org
- To: gdb-gnats at sources dot redhat dot com
- Date: 28 Jan 2008 15:44:29 -0000
- Subject: build/2410: Missing -lintl in sim/ppc
- Reply-to: tr at oxlug dot org
>Number: 2410
>Category: build
>Synopsis: Missing -lintl in sim/ppc
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: patch
>Submitter-Id: net
>Arrival-Date: Mon Jan 28 15:48:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: tr@oxlug.org
>Release: gdb-6.7.1
>Organization:
>Environment:
Target is some form of PowerPC version, host and build are both Cygwin.
>Description:
When linking psim.exe, -lintl is not included. The link therefore fails because it can't find _libintl_dgettext (used by bfd).
This is because configure looks for ../intl/config.intl instead of ../../intl/config.intl.
>How-To-Repeat:
>Fix:
diff -ur gdb-6.7.1/sim/ppc/configure.ac gdb/sim/ppc/configure.ac
--- gdb-6.7.1/sim/ppc/configure.ac 2006-05-31 16:14:45.000000000 +0100
+++ gdb/sim/ppc/configure.ac 2008-01-28 15:24:44.000000000 +0000
@@ -17,7 +17,7 @@
dnl We don't use gettext, but bfd does. So we do the appropriate checks
dnl to see if there are intl libraries we should link against.
ALL_LINGUAS=
-ZW_GNU_GETTEXT_SISTER_DIR
+ZW_GNU_GETTEXT_SISTER_DIR(../../intl)
AC_ARG_ENABLE(sim-alignment,
>Release-Note:
>Audit-Trail:
>Unformatted: