Loading ...
Sorry, an error occurred while loading the content.

re: vim 6 for win32

Expand Messages
  • Pritesh Mistry
    and if you want to build it on your own... but, i guess gvim_vc.mak for this version isn t available yet - though, you could append the newer files to the
    Message 1 of 3 , Jan 2, 2001
    • 0 Attachment
      and if you want to build it on your own...

      but, i guess gvim_vc.mak for this version isn't available yet - though, you
      could append the newer files to the older one.

      cheers,


      > -----Original Message-----
      > From: Ron Aaron [mailto:ron@...]
      > Sent: Wednesday, October 11, 2000 5:33 pm
      > Subject: How to make a vim for Win32 -- step by step
      >
      >
      > Since this seems to come up fairly often, I thought I would
      > take a moment to
      > explain how to produce a Win32 binary for 'gvim'.
      >
      > First, you need a supported C compiler. I will cover using
      > the 'mingw32'
      > compiler, which is free for the download at:
      >
      > http://www.mingw.org/
      >
      > I am only covering 'mingw' because it is the compiler I use
      > exclusively now,
      > since the 'gcc' compiler is the same as the Linux version
      > (well, nearly so)
      > and I don't have the time or patience to deal anymore with
      > multiple toolsets.
      > Anyway...
      >
      > Once you have downloaded the compiler binaries, unpack them
      > on your hard disk
      > somewhere, and put them on your PATH. If you are on Win95/98
      > you can edit
      > your AUTOEXEC.BAT file with a line like:
      >
      > set PATH=C:\GCC-2.95.2\BIN;%PATH%
      >
      > or on NT/2000, go to the Control Panel, System, and edit the
      > environment from
      > there.
      >
      > Test if gcc is on your path. From a CMD (or COMMAND on '95/98):
      >
      > C:\> gcc --version
      > 2.95.2
      >
      > C:\> make --version
      > GNU Make version 3.77 (...etc...)
      >
      > Now you are ready to rock 'n' roll. Unpack the vim sources (look on
      > www.vim.org for exactly which version of the vim files you need).
      >
      > Change directory to 'vim\src':
      >
      > C:\> cd vim\src
      > C:\VIM\SRC>
      >
      > and ...
      >
      > IF you are compiling a version of vim PRIOR to the 6.0
      > series, you type
      > the command:
      >
      > make -f makefile.ming gvim.exe
      >
      > IF you are compiling a version from 6.0 and on, you type:
      >
      > make -f Make_ming.mak gvim.exe
      >
      > After churning for a while, you will end up with 'gvim.exe'
      > in the 'vim\src'
      > directory.
      >
      > You should not need to do *any* editing of any files to get
      > vim compiled this
      > way. If, for some reason, you want the console-mode-only
      > version of vim (this
      > is NOT recommended on Win32, especially on '95/'98!!!), you
      > need only change
      > the 'gvim.exe' to 'vim.exe' in the 'make' commands given above.
      >
      > If you are dismayed by how big the EXE is, I strongly
      > recommend you get 'UPX'
      > (also free!) and compress the file (typical compression is
      > 50%). UPX can be
      > found at
      > http://upx.tsx.org/
      >
      >
      >
      > Hope this helps someone!
      >
      > Regards,
      > Ron
      >
      > --
      > Ron Aaron Moss Bay Engineering
      > 425-649-8817 Precision Crafted Software
      > http://www.mossbayeng.com/~ron/ronsresume.html
      >
      > "If you won't be better tomorrow than you are today,
      > what need have you for tomorrow?"
      > R' Nahman of Bratslav
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.