Re: Japanese Display for gtk+-1.2.9



>>I think It is insufficient to use X_LOCALE. What you receive
>>when you execute?

>>       frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum

With -DX_LOCALE (No output)
]# frv-linux-gnu-nm -ap /nfs/rootgtk98/rootfs-glibc-frv-040820-3/opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum
          
Without -DX_LOCALE
]# frv-linux-gnu-nm -ap /nfs/rootgtk-jap-20051018/rootgtk99/rootfs-glibc-frv-040820-3/opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum
         U iswalnum@@GLIBC_2.3.4




On 11/3/05, mpsuzuki hiroshima-u ac jp <mpsuzuki hiroshima-u ac jp > wrote:
On Thu, 3 Nov 2005 12:29:22 +0800
Xyber Blue < xyberblue gmail com> wrote:

>>>> [root localhost ~]# frv-linux-gnu-nm -ap
>>>> /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale
>>>> U setlocale@@GLIBC_2.3.4
>>>>
>>>> That is the output..... what's with the output???
>
>>>It means your gtk+-1.2.x is built to use locale in libc.
>>>It does not call _Xsetlocale(). Therefore, it will fail
>>>as the first test with xmbcs.c.
>
>>>If it is configured to use _Xsetlocale(), libgdk-1.2.so.0
>>>won't call setlocale().
>
>mpsuzuki Im very sorry for my previous reply. It seems that this cross
>compiled gtk doesn't use -DXLOCALE.

I think your cross building can screw up header files of host
and target system.

>It seems that it does not give anything..... I edited the .c files
>containing setlocale to _Xsetlocale

I think It is insufficient to use X_LOCALE. What you receive
when you execute?

        frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]