Subject: Re: iconv problems after update?
To: None <th-nozaki@netwrk.co.jp>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 03/19/2007 20:05:13
th-nozaki@netwrk.co.jp wrote:

> i think it's better to use __PIC__ flag instead of -D_I18N_DYNAMIC.
> any comment?

It won't work because __PIC__ is always (even for libc.a)
defined on (at least) mips.

---
% uname -p
i386
% % cat > foo.c
#ifdef __PIC__
#error __PIC__ is defined.
#endif
main(){}
% cc foo.c
% 
---
% uname -p
mipsel
% cat > foo.c
#ifdef __PIC__
#error __PIC__ is defined.  
#endif
main(){}
% cc foo.c
foo.c:2:2: error: #error __PIC__ is defined.
% 
---

I think reverting libc/Makefile to rev 1.127 is the right way.
---
Izumi Tsutsui