comparison src/INSTALLpc.txt @ 16606:7e733046db1d v8.1.1306

patch 8.1.1306: Borland support is outdated and doesn't work commit https://github.com/vim/vim/commit/eae1b91fea74842000fc055afc74fe2e7934c6ee Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 9 15:12:55 2019 +0200 patch 8.1.1306: Borland support is outdated and doesn't work Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 May 2019 15:15:07 +0200
parents 09f560dde6be
children 1ec6539cef68
comparison
equal deleted inserted replaced
16605:50115650f6c7 16606:7e733046db1d
23 Contents: 23 Contents:
24 1. Microsoft Visual C++ 24 1. Microsoft Visual C++
25 2. Using MSYS2 with MinGW 25 2. Using MSYS2 with MinGW
26 3. Using MinGW 26 3. Using MinGW
27 4. Cygwin 27 4. Cygwin
28 5. Borland 28 5. Cross compiling for Win32 from a Linux machine
29 6. Cross compiling for Win32 from a Linux machine 29 6. Building with Python support
30 7. Building with Python support 30 7. Building with Python3 support
31 8. Building with Python3 support 31 8. Building with Racket or MzScheme support
32 9. Building with Racket or MzScheme support 32 9. Building with Lua support
33 10. Building with Lua support 33 10. Building with Perl support
34 11. Building with Perl support 34 11. Building with Ruby support
35 12. Building with Ruby support 35 12. Building with Tcl support
36 13. Building with Tcl support 36 13. Building with Terminal support
37 14. Building with Terminal support 37 14. Building with DirectX (DirectWrite) support
38 15. Building with DirectX (DirectWrite) support 38 15. Windows 3.1
39 16. Windows 3.1 39 16. MS-DOS
40 17. MS-DOS 40
41 41 17. Installing after building from sources
42 18. Installing after building from sources
43 42
44 43
45 The currently recommended way (that means it has been verified to work) is 44 The currently recommended way (that means it has been verified to work) is
46 using the "Visual Studio Community 2015" installation. This includes the SDK 45 using the "Visual Studio Community 2015" installation. This includes the SDK
47 needed to target Windows XP. But not older Windows versions (95, 98), see 46 needed to target Windows XP. But not older Windows versions (95, 98), see
449 Unix archive then). Then you get a Cygwin application (feels like Vim is 448 Unix archive then). Then you get a Cygwin application (feels like Vim is
450 running on Unix), while with Make_cyg.mak you get a Windows application (like 449 running on Unix), while with Make_cyg.mak you get a Windows application (like
451 with the other makefiles). 450 with the other makefiles).
452 451
453 452
454 5. Borland 453 5. Cross compiling for Win32 from a Linux machine
455 ===========
456
457 Use Make_bc5.mak with Borland C++ 5.x. See
458 http://users.skynet.be/antoine.mechelynck/vim/compile.htm
459
460
461 6. Cross compiling for Win32 from a Linux machine
462 ================================================= 454 =================================================
463 455
464 [Update of 1) needs to be verified] 456 [Update of 1) needs to be verified]
465 457
466 If you like, you can compile the 'mingw' Win32 version from the comfort of 458 If you like, you can compile the 'mingw' Win32 version from the comfort of
476 4) make -f Make_ming.mak gvim.exe 468 4) make -f Make_ming.mak gvim.exe
477 469
478 Now you have created the Windows binary from your Linux box! Have fun... 470 Now you have created the Windows binary from your Linux box! Have fun...
479 471
480 472
481 7. Building with Python support 473 6. Building with Python support
482 =============================== 474 ===============================
483 475
484 For building with MSVC 2008 the "Windows Installer" from www.python.org 476 For building with MSVC 2008 the "Windows Installer" from www.python.org
485 works fine. 477 works fine.
486 478
537 make -f Make_ming.mak gvim.exe 529 make -f Make_ming.mak gvim.exe
538 530
539 You will end up with a Python-enabled, Win32 version. Enjoy! 531 You will end up with a Python-enabled, Win32 version. Enjoy!
540 532
541 533
542 8. Building with Python3 support 534 7. Building with Python3 support
543 ================================ 535 ================================
544 536
545 For building with MSVC 2008 the "Windows Installer" from www.python.org 537 For building with MSVC 2008 the "Windows Installer" from www.python.org
546 works fine. Python 3.6 is recommended. 538 works fine. Python 3.6 is recommended.
547 539
574 (This is for 64-bit builds. For 32-bit builds, replace mingw64 with mingw32.) 566 (This is for 64-bit builds. For 32-bit builds, replace mingw64 with mingw32.)
575 (STATIC_STDCPLUS is optional. Set to yes if you don't want to require 567 (STATIC_STDCPLUS is optional. Set to yes if you don't want to require
576 libstdc++-6.dll.) 568 libstdc++-6.dll.)
577 569
578 570
579 9. Building with Racket or MzScheme support 571 8. Building with Racket or MzScheme support
580 ======================================== 572 ========================================
581 573
582 1) Building with Racket support (newest) 574 1) Building with Racket support (newest)
583 575
584 MzScheme and PLT Scheme names have been rebranded as Racket. Vim with Racket 576 MzScheme and PLT Scheme names have been rebranded as Racket. Vim with Racket
664 After a successful build, these dlls can be freely removed, leaving them in 656 After a successful build, these dlls can be freely removed, leaving them in
665 %WINDOWS%\System32 only. 657 %WINDOWS%\System32 only.
666 658
667 659
668 660
669 10. Building with Lua support 661 9. Building with Lua support
670 ============================ 662 ============================
671 663
672 Vim with Lua support can be built with either MSVC or MinGW (or maybe Cygwin). 664 Vim with Lua support can be built with either MSVC or MinGW (or maybe Cygwin).
673 You can use binaries from LuaBinaries: http://luabinaries.sourceforge.net/ 665 You can use binaries from LuaBinaries: http://luabinaries.sourceforge.net/
674 This also applies to when you get a Vim executable and don't build yourself, 666 This also applies to when you get a Vim executable and don't build yourself,
719 711
720 make -f Make_cyg.mak 712 make -f Make_cyg.mak
721 LUA=/cygdrive/c/projects/lua53 DYNAMIC_LUA=yes LUA_VER=53 713 LUA=/cygdrive/c/projects/lua53 DYNAMIC_LUA=yes LUA_VER=53
722 714
723 715
724 11. Building with Perl support 716 10. Building with Perl support
725 ============================== 717 ==============================
726 718
727 Vim with Perl support can be built with either MSVC or MinGW (or Cygwin). 719 Vim with Perl support can be built with either MSVC or MinGW (or Cygwin).
728 You can use binaries from ActiveState (ActivePerl) or Strawberry Perl. 720 You can use binaries from ActiveState (ActivePerl) or Strawberry Perl.
729 721
745 737
746 mingw32-make -f Make_ming.mak 738 mingw32-make -f Make_ming.mak
747 PERL=C:/Perl DYNAMIC_PERL=yes PERL_VER=522 739 PERL=C:/Perl DYNAMIC_PERL=yes PERL_VER=522
748 740
749 741
750 12. Building with Ruby support 742 11. Building with Ruby support
751 ============================== 743 ==============================
752 744
753 Vim with Ruby support can be built with either MSVC or MinGW (or Cygwin). 745 Vim with Ruby support can be built with either MSVC or MinGW (or Cygwin).
754 Ruby doesn't provide the official Windows binaries. The most widely used 746 Ruby doesn't provide the official Windows binaries. The most widely used
755 Windows binaries might be RubyInstaller. Currently Ruby 2.4 is recommended. 747 Windows binaries might be RubyInstaller. Currently Ruby 2.4 is recommended.
853 If you set WINVER explicitly, it must be set to >=0x500, when building with 845 If you set WINVER explicitly, it must be set to >=0x500, when building with
854 Ruby 2.1 or later. (Default is 0x600.) 846 Ruby 2.1 or later. (Default is 0x600.)
855 847
856 848
857 849
858 13. Building with Tcl support 850 12. Building with Tcl support
859 ============================= 851 =============================
860 852
861 Vim with Tcl support can be built with either MSVC or MinGW (or Cygwin). 853 Vim with Tcl support can be built with either MSVC or MinGW (or Cygwin).
862 You can use binaries from ActiveState (ActiveTcl). 854 You can use binaries from ActiveState (ActiveTcl).
863 855
892 884
893 mingw32-make -f Make_ming.mak 885 mingw32-make -f Make_ming.mak
894 TCL=C:/Tcl86 DYNAMIC_TCL=yes TCL_VER=86 TCL_VER_LONG=8.6 886 TCL=C:/Tcl86 DYNAMIC_TCL=yes TCL_VER=86 TCL_VER_LONG=8.6
895 887
896 888
897 14. Building with Terminal support 889 13. Building with Terminal support
898 ================================== 890 ==================================
899 891
900 Vim with Terminal support can be built with either MSVC, MinGW or Cygwin. 892 Vim with Terminal support can be built with either MSVC, MinGW or Cygwin.
901 This uses the included libvterm and winpty. No extra header files or 893 This uses the included libvterm and winpty. No extra header files or
902 libraries are needed for building. Just set TERMINAL to yes. 894 libraries are needed for building. Just set TERMINAL to yes.
908 Or when using MinGW: 900 Or when using MinGW:
909 901
910 mingw32-make -f Make_ming.mak TERMINAL=yes 902 mingw32-make -f Make_ming.mak TERMINAL=yes
911 903
912 904
913 15. Building with DirectX (DirectWrite) support 905 14. Building with DirectX (DirectWrite) support
914 =============================================== 906 ===============================================
915 907
916 Vim with DirectX (DirectWrite) support can be built with either MSVC or MinGW. 908 Vim with DirectX (DirectWrite) support can be built with either MSVC or MinGW.
917 This requires dwrite_2.h and some other header files which come with Windows 909 This requires dwrite_2.h and some other header files which come with Windows
918 SDK 8.1 or later (or MinGW-w64), if you want to enable color emoji support. 910 SDK 8.1 or later (or MinGW-w64), if you want to enable color emoji support.
942 Just set DIRECTX to yes: 934 Just set DIRECTX to yes:
943 935
944 mingw32-make -f Make_ming.mak DIRECTX=yes 936 mingw32-make -f Make_ming.mak DIRECTX=yes
945 937
946 938
947 16. Windows 3.1x 939 15. Windows 3.1x
948 ================ 940 ================
949 941
950 The Windows 3.1x support was removed in patch 7.4.1364. 942 The Windows 3.1x support was removed in patch 7.4.1364.
951 943
952 944
953 17. MS-DOS 945 16. MS-DOS
954 ========== 946 ==========
955 947
956 The MS-DOS support was removed in patch 7.4.1399. Only very old Vim versions 948 The MS-DOS support was removed in patch 7.4.1399. Only very old Vim versions
957 work on MS-DOS because of the limited amount of memory available. 949 work on MS-DOS because of the limited amount of memory available.
958 950
959 951
960 18. Installing after building from sources 952 17. Installing after building from sources
961 ========================================== 953 ==========================================
962 954
963 [provided by Michael Soyka, updated by Ken Takata] 955 [provided by Michael Soyka, updated by Ken Takata]
964 956
965 After you've built the Vim binaries as described above, you're ready to 957 After you've built the Vim binaries as described above, you're ready to