comparison INSTALL @ 98032:89441831a5ad

Adapt to latest versions of MS-Windows.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 06 Sep 2008 11:41:17 +0000
parents 1c58e58f90a5
children fb4ca3a26b2a
comparison
equal deleted inserted replaced
98031:0c928d7e6d88 98032:89441831a5ad
223 223
224 DETAILED BUILDING AND INSTALLATION: 224 DETAILED BUILDING AND INSTALLATION:
225 225
226 (This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X, 226 (This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X,
227 see below; search for MSDOG. For Windows 9X, Windows ME, Windows NT, 227 see below; search for MSDOG. For Windows 9X, Windows ME, Windows NT,
228 and Windows 2000, see the file nt/INSTALL.) 228 Windows 2000, Windows XP/2003, and Windows Vista/2008, see the file
229 nt/INSTALL.)
229 230
230 1) Make sure your system has enough swapping space allocated to handle 231 1) Make sure your system has enough swapping space allocated to handle
231 a program whose pure code is 1.5 MB and whose data area is at 232 a program whose pure code is 1.5 MB and whose data area is at
232 least 2.8 MB and can reach 100 MB or more. If the swapping space is 233 least 2.8 MB and can reach 100 MB or more. If the swapping space is
233 insufficient, you will get an error in the command `temacs -batch -l 234 insufficient, you will get an error in the command `temacs -batch -l
809 Textutils), and a port of Bash. However, you should not normally need 810 Textutils), and a port of Bash. However, you should not normally need
810 to run lisp/Makefile, as all the Lisp files are distributed in 811 to run lisp/Makefile, as all the Lisp files are distributed in
811 byte-compiled form as well. 812 byte-compiled form as well.
812 813
813 If you are building the MSDOG version of Emacs on an MSDOG-like system 814 If you are building the MSDOG version of Emacs on an MSDOG-like system
814 which supports long file names (e.g. Windows 95), you need to make 815 which supports long file names (e.g. Windows 9X or Windows XP), you
815 sure that long file names are handled consistently both when you 816 need to make sure that long file names are handled consistently both
816 unpack the distribution and compile it. If you intend to compile with 817 when you unpack the distribution and compile it. If you intend to
817 DJGPP v2.0 or later, and long file names support is enabled (LFN=y in 818 compile with DJGPP v2.0 or later, and long file names support is
818 the environment), you need to unpack Emacs distribution in a way that 819 enabled (LFN=y in the environment), you need to unpack Emacs
819 doesn't truncate the original long filenames to the DOS 8.3 namespace; 820 distribution in a way that doesn't truncate the original long
820 the easiest way to do this is to use djtar program which comes with 821 filenames to the DOS 8.3 namespace; the easiest way to do this is to
821 DJGPP, since it will note the LFN setting and behave accordingly. 822 use djtar program which comes with DJGPP, since it will note the LFN
822 DJGPP v1 doesn't support long filenames, so you must unpack Emacs with 823 setting and behave accordingly. DJGPP v1 doesn't support long
823 a program that truncates the filenames to 8.3 naming as it extracts 824 filenames, so you must unpack Emacs with a program that truncates the
824 files; again, using djtar after setting LFN=n is the recommended way. 825 filenames to 8.3 naming as it extracts files; again, using djtar after
825 You can build Emacs with LFN=n even if you use DJGPP v2, if some of 826 setting LFN=n is the recommended way. You can build Emacs with LFN=n
826 your tools don't support long file names: just ensure that LFN is set 827 even if you use DJGPP v2, if some of your tools don't support long
827 to `n' during both unpacking and compiling. 828 file names: just ensure that LFN is set to `n' during both unpacking
829 and compiling.
828 830
829 (By the time you read this, you have already unpacked the Emacs 831 (By the time you read this, you have already unpacked the Emacs
830 distribution, but if the explanations above imply that you should have 832 distribution, but if the explanations above imply that you should have
831 done it differently, it's safer to delete the directory tree created 833 done it differently, it's safer to delete the directory tree created
832 by the unpacking program and unpack Emacs again, than to risk running 834 by the unpacking program and unpack Emacs again, than to risk running
833 into problems during the build process.) 835 into problems during the build process.)
834 836
835 It is important to understand that the runtime support of long file 837 It is important to understand that the runtime support of long file
836 names by the Emacs binary is NOT affected by the LFN setting during 838 names by the Emacs binary is NOT affected by the LFN setting during
837 compilation; Emacs compiled with DJGPP v2.0 or later will always 839 compilation; Emacs compiled with DJGPP v2.0 or later will always
838 support long file names on Windows 9X no matter what was the setting 840 support long file names on Windows no matter what was the setting
839 of LFN at compile time. However, if you compiled with LFN disabled 841 of LFN at compile time. However, if you compiled with LFN disabled
840 and want to enable LFN support after Emacs was already built, you need 842 and want to enable LFN support after Emacs was already built, you need
841 to make sure that the support files in the lisp, etc and info 843 to make sure that the support files in the lisp, etc and info
842 directories are called by their original long names as found in the 844 directories are called by their original long names as found in the
843 distribution. You can do this either by renaming the files manually, 845 distribution. You can do this either by renaming the files manually,
874 the name ECHO.EXE, so you can simply copy ECHO.EXE to DJECHO.EXE and 876 the name ECHO.EXE, so you can simply copy ECHO.EXE to DJECHO.EXE and
875 rerun CONFIG.BAT. If you have neither ECHO.EXE nor DJECHO.EXE, you 877 rerun CONFIG.BAT. If you have neither ECHO.EXE nor DJECHO.EXE, you
876 should be able to find them in your djdevNNN.zip archive (where NNN is 878 should be able to find them in your djdevNNN.zip archive (where NNN is
877 the DJGPP version number). 879 the DJGPP version number).
878 880
879 On Windows NT or Windows 2000, running "config msdos" might print an 881 On Windows NT, Windows 2000/XP/Vista, running "config msdos" might
880 error message like "VDM has been already loaded". This is because 882 print an error message like "VDM has been already loaded". This is
881 those systems have a program called `redir.exe' which is incompatible 883 because those systems have a program called `redir.exe' which is
882 with a program by the same name supplied with DJGPP, which is used by 884 incompatible with a program by the same name supplied with DJGPP,
883 config.bat. To resolve this, move the DJGPP's `bin' subdirectory to 885 which is used by config.bat. To resolve this, move the DJGPP's `bin'
884 the front of your PATH environment variable. 886 subdirectory to the front of your PATH environment variable.
885 887
886 To install the international fonts, chdir to the intlfonts-X.Y 888 To install the international fonts, chdir to the intlfonts-X.Y
887 directory created when you unpacked the intlfonts distribution (X.Y is 889 directory created when you unpacked the intlfonts distribution (X.Y is
888 the version number of the fonts' distribution), and type the following 890 the version number of the fonts' distribution), and type the following
889 command: 891 command: