This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/50842] [4.7 Regression] gnatmake fails to link in stage3 with undefined symbol _iconv_close
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2011 22:36:15 +0000
- Subject: [Bug ada/50842] [4.7 Regression] gnatmake fails to link in stage3 with undefined symbol _iconv_close
- Auto-submitted: auto-generated
- References: <bug-50842-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50842
--- Comment #3 from dave.anglin at bell dot net 2011-10-26 22:36:15 UTC ---
On 26-Oct-11, at 5:26 PM, ebotcazou at gcc dot gnu.org wrote:
>> gnatmake needs to be linked against /usr/lib/libiconv.dylib.
>
> Which Makefile variable contains the -liconv flag?
The gcc Makefile has
LIBICONV = /usr/lib/libiconv.dylib
LIBICONV_DEP =
LIBICONV is subsequently used in the LIBS variable.
Dave
--
John David Anglin dave.anglin@bell.net