comparison PROBLEMS @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 538048ae2ab8
children acd284d43ca1
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
1016 1016
1017 Richard Cognot <cognot@ensg.u-nancy.fr> writes: 1017 Richard Cognot <cognot@ensg.u-nancy.fr> writes:
1018 You *have* to compile your own jpeg lib. The one delivered with SGI 1018 You *have* to compile your own jpeg lib. The one delivered with SGI
1019 systems is a C++ lib, which apparently XEmacs cannot cope with. 1019 systems is a C++ lib, which apparently XEmacs cannot cope with.
1020 1020
1021 ** XEmacs won't build with the n32 environment on Irix 6.
1022
1023 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> writes:
1024 While making the OS and the compiler able to work on 64b
1025 architectures, SGI designed another mode for using registers
1026 and passing parameters between functions, activated on the
1027 compiler by using -64. Since it was much more efficient ar
1028 using registers even for 32b architectures, they designed
1029 a version for 32b called n32. And it _is_ really better.
1030 This mode should always be used when not using gcc (which
1031 can only do o32 afaik).
1032
1033 Too bad xemacs can't do n32 out of the box. So here is what
1034 I had to do to compile it in this mode:
1035
1036 s/irix6-0.h:
1037 - #define LD_SWITCH_SYSTEM -32
1038 + #define LD_SWITCH_SYSTEM -n32 -G 0
1039
1040 m/iris4d.h:
1041 - #define LIBS_MACHINE -lmld
1042 + #define LIBS_MACHINE
1043
1044 - #define C_SWITCH_MACHINE -32
1045 + #define C_SWITCH_MACHINE -n32 -G 0
1046
1047 (the mld lib does not exist in n32 mode)
1048
1049 I also added a --cflags='-n32 -O2 -G 0 -s' to the configuration
1050 line but it seems that these flags are ignored for configure test
1051 and since o32 and n32 libraries are independant I had to revert
1052 to the CFLAGS env var.
1053
1054 Anyway, once done that the compile has gone succesfully, the dump
1055 was OK and I'm writing this in the resulting xemacs-20.2b1 ;-)
1056
1057 ** Slow startup on Linux. 1021 ** Slow startup on Linux.
1058 1022
1059 People using systems based on the Linux kernel sometimes report that 1023 People using systems based on the Linux kernel sometimes report that
1060 startup takes 10 to 15 seconds longer than `usual'. 1024 startup takes 10 to 15 seconds longer than `usual'.
1061 1025