You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/03/12 04:44:46 UTC

[jira] Assigned: (STDCXX-357) [gcc/Mac OS X] link utilities with the iconv library

     [ https://issues.apache.org/jira/browse/STDCXX-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-357:
-----------------------------------

    Assignee: Eric Lemings  (was: Martin Sebor)

Brad, can you check if the patch is still good an needed?

Btw., it would be nice if you could put together a list of the programs that need to link with libiconv and show what happens when they don't (linker errors? runtime problems? ...)

> [gcc/Mac OS X] link utilities with the iconv library
> ----------------------------------------------------
>
>                 Key: STDCXX-357
>                 URL: https://issues.apache.org/jira/browse/STDCXX-357
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 4.1.2, 4.1.3
>         Environment: Darwin host.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
>            Reporter: Eric Lemings
>            Assignee: Eric Lemings
>            Priority: Minor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Some executables (esp. locale-specific utilities) need to link with the iconv library.  Patch listed below.  (Don't think it will matter that the link flag is given for all link commands.)
> {noformat}
> Index: etc/config/gcc.config
> ===================================================================
> --- etc/config/gcc.config       (revision 517771)
> +++ etc/config/gcc.config       (working copy)
> @@ -127,7 +129,7 @@
>    ifeq ($(OSNAME),Darwin)
>      # link with gcc_eh to resolve the _Unwind_xxx functions
>      # (shouldn't we link with it on all platforms?)
> -    LDLIBS += -lgcc_eh
> +    LDLIBS += -liconv -lgcc_eh
>    endif
>  endif   # gcc > 2
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.