0
|
1 /*
|
|
2 * $Id: README.sun,v 1.1.2.2 1999/02/08 02:09:57 yamasita Exp $
|
|
3 */
|
|
4
|
|
5 /*
|
|
6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
7 * This file is part of FreeWnn.
|
|
8 *
|
|
9 * Copyright Kyoto University Research Institute for Mathematical Sciences
|
|
10 * 1987, 1988, 1989, 1990, 1991, 1992
|
|
11 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
12 * Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
|
13 *
|
|
14 * Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
|
15 *
|
|
16 * This program is free software; you can redistribute it and/or modify
|
|
17 * it under the terms of the GNU General Public License as published by
|
|
18 * the Free Software Foundation; either version 2, or (at your option)
|
|
19 * any later version.
|
|
20 *
|
|
21 * This program is distributed in the hope that it will be useful,
|
|
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
24 * GNU General Public License for more details.
|
|
25 *
|
|
26 * You should have received a copy of the GNU General Public License
|
|
27 * along with GNU Emacs; see the file COPYING. If not, write to the
|
|
28 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
29 *
|
|
30 * Commentary:
|
|
31 *
|
|
32 * Change log:
|
|
33 *
|
|
34 * Last modified date: 8,Feb.1999
|
|
35 *
|
|
36 */
|
|
37
|
|
38 If you want to complie on SunOS 4.1.1.
|
|
39 Before building contrib/im/Xsi, contrib/Xaw, ..,
|
|
40 See X11R5 RELNOTES.TXT section 3.4.1 and build Xlib with
|
|
41 -DX_WCHAR -DX_LOCALE
|
|
42
|
|
43
|
|
44 (Because SunOS 4.1.1 is using wchar_t with 16bits,
|
|
45 but xwnmo is using wchar_t with 32bits.
|
|
46 And SunOS 4.1.1's setlocale() works only 'C' locale.
|
|
47 One more recommendation is,
|
|
48 if you cannot set enviornmant valiable "LANG", you can
|
|
49 use resource XnlLanguage instead of "LANG"
|
|
50 )
|
|
51
|
|
52
|
|
53 1. Change /usr/inclde/sys/stdtypes.h
|
|
54
|
|
55 *** /usr/include/sys/stdtypes.h.org Thu Oct 11 15:34:07 1990
|
|
56 --- /usr/include/sys/stdtypes.h Wed Sep 25 13:21:59 1991
|
|
57 ***************
|
|
58 *** 27,32 ****
|
|
59 --- 27,34 ----
|
|
60 typedef int size_t; /* ??? */
|
|
61 typedef int ptrdiff_t; /* result of subtracting two pointers */
|
|
62
|
|
63 + #ifndef X_WCHAR
|
|
64 typedef unsigned short wchar_t; /* big enough for biggest char set */
|
|
65 + #endif
|
|
66
|
|
67 #endif /* !__sys_stdtypes_h */
|
|
68
|
|
69 2. Change config/sun.cf
|
|
70 *** sun.cf.SV Mon Sep 16 19:39:58 1991
|
|
71 --- config/sun.cf Wed Sep 25 13:33:35 1991
|
|
72 ***************
|
|
73 *** 9,14 ****
|
|
74 --- 9,16 ----
|
|
75 /* We do not guarantee this will work */
|
|
76 #define BootstrapCFlags -DNOSTDHDRS
|
|
77 #define StandardDefines -DNOSTDHDRS
|
|
78 + #else
|
|
79 + #define StandardDefines -DNOSTDHDRS -DX_WCHAR -DX_LOCALE
|
|
80 #endif
|
|
81
|
|
82 #define HasSaberC YES
|