Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-357

[gcc/Mac OS X] link utilities with the iconv library

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 4.1.2, 4.1.3
    • 4.2.2
    • Utilities
    • None
    • 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

    • Patch Available

    Description

      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.)

      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
      
      

      Attachments

        Activity

          People

            elemings Eric Lemings
            elemings Eric Lemings
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h