NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/40983: iconv(3) man page says linking -lc is enough, but -liconv is needed
The following reply was made to PR lib/40983; it has been noted by GNATS.
From: Michael Stapelberg <michael+netbsd%stapelberg.de@localhost>
To: Takehiko NOZAKI <takehiko.nozaki%gmail.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: lib/40983: iconv(3) man page says linking -lc is enough, but
-liconv is needed
Date: Sun, 8 Mar 2009 20:34:29 +0100
Hi Takehiko,
* [08.03.09 18:21]:
> it seems that your application includes GNU libiconv's
> header(/usr/pkg/include/iconv.h),
> you have to set correct include path and use NetBSD's own
> header(/usr/include/iconv.h).
Thanks, you are correct.
I think it should be noted that one can use -idirafter to specify include
directories which are checked _after_ the standard system directories (in
contrary to -I, which checks before the standard system directories).
Best regards,
Michael
Home |
Main Index |
Thread Index |
Old Index