Mercurial > hg > xemacs-beta
comparison PROBLEMS @ 138:6608ceec7cf8 r20-2b3
Import from CVS: tag r20-2b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:31:46 +0200 |
parents | b980b6286996 |
children | 318232e2a3f0 |
comparison
equal
deleted
inserted
replaced
137:cae984061f40 | 138:6608ceec7cf8 |
---|---|
1034 | 1034 |
1035 Richard Cognot <cognot@ensg.u-nancy.fr> writes: | 1035 Richard Cognot <cognot@ensg.u-nancy.fr> writes: |
1036 You *have* to compile your own jpeg lib. The one delivered with SGI | 1036 You *have* to compile your own jpeg lib. The one delivered with SGI |
1037 systems is a C++ lib, which apparently XEmacs cannot cope with. | 1037 systems is a C++ lib, which apparently XEmacs cannot cope with. |
1038 | 1038 |
1039 ** XEmacs won't build with the n32 environment on Irix 6. | |
1040 | |
1041 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> writes: | |
1042 While making the OS and the compiler able to work on 64b | |
1043 architectures, SGI designed another mode for using registers | |
1044 and passing parameters between functions, activated on the | |
1045 compiler by using -64. Since it was much more efficient ar | |
1046 using registers even for 32b architectures, they designed | |
1047 a version for 32b called n32. And it _is_ really better. | |
1048 This mode should always be used when not using gcc (which | |
1049 can only do o32 afaik). | |
1050 | |
1051 Too bad xemacs can't do n32 out of the box. So here is what | |
1052 I had to do to compile it in this mode: | |
1053 | |
1054 s/irix6-0.h: | |
1055 - #define LD_SWITCH_SYSTEM -32 | |
1056 + #define LD_SWITCH_SYSTEM -n32 -G 0 | |
1057 | |
1058 m/iris4d.h: | |
1059 - #define LIBS_MACHINE -lmld | |
1060 + #define LIBS_MACHINE | |
1061 | |
1062 - #define C_SWITCH_MACHINE -32 | |
1063 + #define C_SWITCH_MACHINE -n32 -G 0 | |
1064 | |
1065 (the mld lib does not exist in n32 mode) | |
1066 | |
1067 I also added a --cflags='-n32 -O2 -G 0 -s' to the configuration | |
1068 line but it seems that these flags are ignored for configure test | |
1069 and since o32 and n32 libraries are independant I had to revert | |
1070 to the CFLAGS env var. | |
1071 | |
1072 Anyway, once done that the compile has gone succesfully, the dump | |
1073 was OK and I'm writing this in the resulting xemacs-20.2b1 ;-) | |
1074 | |
1039 ** Slow startup on Linux. | 1075 ** Slow startup on Linux. |
1040 | 1076 |
1041 People using systems based on the Linux kernel sometimes report that | 1077 People using systems based on the Linux kernel sometimes report that |
1042 startup takes 10 to 15 seconds longer than `usual'. | 1078 startup takes 10 to 15 seconds longer than `usual'. |
1043 | 1079 |