Issue Details (XML | Word | Printable)

Key: STDCXX-357
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Invalid
Priority: Minor Minor
Assignee: Eric Lemings
Reporter: Eric Lemings
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

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

Created: 14/Mar/07 04:05 PM   Updated: 03/Jun/08 08:25 PM
Return to search
Component/s: Utilities
Affects Version/s: 4.1.2, 4.1.3
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 0h
Time Spent - 2h
Time Spent: 2h
Time Spent - 2h

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

Patch Info: Patch Available
Resolved: 31/Mar/08 11:13 PM
Resolution Date: 03/Jun/08 08:25 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.