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

vim 6.0ah Make_gvc.mak non-portability

Expand Messages
  • Walter Briscoe
    Until now, I have built the several flavours of Vim with Make_mvc.mak using VC++5 on Windows 95. I have been in difficulty when I wanted a debug version to run
    Message 1 of 4 , Jun 1, 2001
      Until now, I have built the several flavours of Vim with Make_mvc.mak
      using VC++5 on Windows 95. I have been in difficulty when I wanted a
      debug version to run from the IDE. I have usually hand-crafted a file.
      I saw a reference, earlier this week, to Make_gvc.mak and thought:
      "That's for me!". I tried using it. VC++5 recognised it as ancient and
      converted it to its own format. When I tried to build, several variables
      - including CoUninitialize - were missing. I looked at the .PLG and
      found that references to ole32.lib were not passed to the linker. I
      corrected Make_gvc.dsp and tested. I back-fitted corresponding changes
      to Make_gvc.mak and tested that too. I enclose a patch. The file
      probably now contains redundant information. It may NOT work on VC++4.2.
      I don't have that product. Can somebody (Bram?) please check my changes
      so we can adjust to a format which works on both products?
      When that is done, it would be good to make it work with VC++6 also.
      I don't have that. At a push, I could make it work with the VC++7 Beta.
      I find Make_gvc.mak builds several flavours of gvim. It would be useful
      to me if it also built the corresponding flavours of vim. I shall
      probably interpolate that for my own purposes now but would appreciate
      co-operation from somebody who has VC++4.2.

      (I need debug versions to run under the control of an IDE as I believe
      there are problems with :grep on W9X.)
      [ Section: 1/1 File: Make_gvc.mak.diff UUencoded by: Turnpike Integrated Version 5.00 S ]

      begin 644 Make_gvc.mak.diff
      M*BHJ('9I;38P86A<<W)C7$UA:V5?9W9C+FUA:RYO<FEG:6YA;`E4=64@36%Y
      M(#(Y(#`X.C4R.C$V(#(P,#$-"BTM+2!V:6TV,&%H7'-R8UQ-86ME7V=V8RYM
      M86L)1G)I($IU;B`@,2`Q,SHR-3HU,B`R,#`Q#0HJ*BHJ*BHJ*BHJ*BHJ*BH-
      M"BHJ*B`Q,C`L,3(V("HJ*BH-"B`@"0T*("!,24Y+,S(];&EN:RYE>&4-"B`@
      M(R!!1$0@0D%312!,24Y+,S(@:V5R;F5L,S(N;&EB('5S97(S,BYL:6(@9V1I
      M,S(N;&EB(&EM;3,R+FQI8B!W:6YS<&]O;"YL:6(@8V]M9&QG,S(N;&EB(&-O
      M;6-T;#,R+FQI8B!A9'9A<&DS,BYL:6(@<VAE;&PS,BYL:6(@;VQE,S(N;&EB
      M(&]L96%U=#,R+FQI8B!U=6ED+FQI8B!O9&)C,S(N;&EB(&]D8F-C<#,R+FQI
      M8B`O;F]L;V=O("]S=6)S>7-T96TZ8V]N<V]L92`O;6%C:&EN93I),S@V#0HA
      M(",@041$($Q)3DLS,B!L:6)C+FQI8B!O;&1N86UE<RYL:6(@:V5R;F5L,S(N
      M;&EB('5S97(S,BYL:6(@9V1I,S(N;&EB(&EM;3,R+FQI8B!W:6YS<&]O;"YL
      M:6(@8V]M9&QG,S(N;&EB(&-O;6-T;#,R+FQI8B!A9'9A<&DS,BYL:6(@<VAE
      M;&PS,BYL:6(@+VYO;&]G;R`O<W5B<WES=&5M.G=I;F1O=W,@+VUA8VAI;F4Z
      M23,X-B`O;F]D969A=6QT;&EB("]O=70Z(F=V:6TN97AE(@T*("`C(%-50E12
      M04-4($Q)3DLS,B`O<&1B.FYO;F4-"B`@3$E.2S,R7T9,04=3/6QI8F,N;&EB
      M(&]L9&YA;65S+FQI8B!K97)N96PS,BYL:6(@=7-E<C,R+FQI8B!G9&DS,BYL
      M:6(@:6UM,S(N;&EB7`T*("`@=VEN<W!O;VPN;&EB(&-O;61L9S,R+FQI8B!C
      M;VUC=&PS,BYL:6(@861V87!I,S(N;&EB('-H96QL,S(N;&EB(&]L93,R+FQI
      M8B!U=6ED+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ=VEN9&]W<UP-"BTM+2`Q
      M,C`L,3(V("TM+2T-"B`@"0T*("!,24Y+,S(];&EN:RYE>&4-"B`@(R!!1$0@
      M0D%312!,24Y+,S(@:V5R;F5L,S(N;&EB('5S97(S,BYL:6(@9V1I,S(N;&EB
      M(&EM;3,R+FQI8B!W:6YS<&]O;"YL:6(@8V]M9&QG,S(N;&EB(&-O;6-T;#,R
      M+FQI8B!A9'9A<&DS,BYL:6(@<VAE;&PS,BYL:6(@;VQE,S(N;&EB(&]L96%U
      M=#,R+FQI8B!U=6ED+FQI8B!O9&)C,S(N;&EB(&]D8F-C<#,R+FQI8B`O;F]L
      M;V=O("]S=6)S>7-T96TZ8V]N<V]L92`O;6%C:&EN93I),S@V#0HA(",@041$
      M($Q)3DLS,B!L:6)C+FQI8B!O;&1N86UE<RYL:6(@:V5R;F5L,S(N;&EB('5S
      M97(S,BYL:6(@9V1I,S(N;&EB(&EM;3,R+FQI8B!W:6YS<&]O;"YL:6(@8V]M
      M9&QG,S(N;&EB(&-O;6-T;#,R+FQI8B!A9'9A<&DS,BYL:6(@<VAE;&PS,BYL
      M:6(@;VQE,S(N;&EB(&]L96%U=#,R+FQI8B!U=6ED+FQI8B!O9&)C,S(N;&EB
      M(&]D8F-C<#,R+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ=VEN9&]W<R`O;6%C
      M:&EN93I),S@V("]N;V1E9F%U;'1L:6(@+V]U=#HB9W9I;2YE>&4B#0H@(",@
      M4U5"5%)!0U0@3$E.2S,R("]P9&(Z;F]N90T*("!,24Y+,S)?1DQ!1U,];&EB
      M8RYL:6(@;VQD;F%M97,N;&EB(&ME<FYE;#,R+FQI8B!U<V5R,S(N;&EB(&=D
      M:3,R+FQI8B!I;6TS,BYL:6)<#0H@("!W:6YS<&]O;"YL:6(@8V]M9&QG,S(N
      M;&EB(&-O;6-T;#,R+FQI8B!A9'9A<&DS,BYL:6(@<VAE;&PS,BYL:6(@;VQE
      M,S(N;&EB('5U:60N;&EB("]N;VQO9V\@+W-U8G-Y<W1E;3IW:6YD;W=S7`T*
      M*BHJ*BHJ*BHJ*BHJ*BHJ#0HJ*BH@,S4P+#,U-B`J*BHJ#0H@(`T*("!,24Y+
      M,S(];&EN:RYE>&4-"B`@(R!!1$0@0D%312!,24Y+,S(@:V5R;F5L,S(N;&EB
      M('5S97(S,BYL:6(@9V1I,S(N;&EB(&EM;3,R+FQI8B!W:6YS<&]O;"YL:6(@
      M8V]M9&QG,S(N;&EB(&-O;6-T;#,R+FQI8B!A9'9A<&DS,BYL:6(@<VAE;&PS
      M,BYL:6(@;VQE,S(N;&EB(&]L96%U=#,R+FQI8B!U=6ED+FQI8B!O9&)C,S(N
      M;&EB(&]D8F-C<#,R+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ8V]N<V]L92`O
      M9&5B=6<@+VUA8VAI;F4Z23,X-@T*(2`C($%$1"!,24Y+,S(@;&EB8V0N;&EB
      M(&]L9&YA;65S+FQI8B!K97)N96PS,BYL:6(@=7-E<C,R+FQI8B!G9&DS,BYL
      M:6(@:6UM,S(N;&EB('=I;G-P;V]L+FQI8B!C;VUD;&<S,BYL:6(@8V]M8W1L
      M,S(N;&EB(&%D=F%P:3,R+FQI8B!S:&5L;#,R+FQI8B`O;F]L;V=O("]S=6)S
      M>7-T96TZ=VEN9&]W<R`O<')O9FEL92`O9&5B=6<@+VUA8VAI;F4Z23,X-B`O
      M;F]D969A=6QT;&EB("]O=70Z(F=V:6UD+F5X92(-"B`@3$E.2S,R7T9,04=3
      M/6QI8F-D+FQI8B!O;&1N86UE<RYL:6(@:V5R;F5L,S(N;&EB('5S97(S,BYL
      M:6(@9V1I,S(N;&EB(&EM;3,R+FQI8EP-"B`@('=I;G-P;V]L+FQI8B!C;VUD
      M;&<S,BYL:6(@8V]M8W1L,S(N;&EB(&%D=F%P:3,R+FQI8B!S:&5L;#,R+FQI
      M8B!O;&4S,BYL:6(@=75I9"YL:6(@+VYO;&]G;R`O<W5B<WES=&5M.G=I;F1O
      M=W-<#0H@("`O<')O9FEL92`O;6%P.B(D*$E.5$1)4BE<9W9I;60N;6%P(B`O
      M9&5B=6<@+VUA8VAI;F4Z23,X-B`O;F]D969A=6QT;&EB("]O=70Z(F=V:6UD
      M+F5X92(@#0HM+2T@,S4P+#,U-B`M+2TM#0H@(`T*("!,24Y+,S(];&EN:RYE
      M>&4-"B`@(R!!1$0@0D%312!,24Y+,S(@:V5R;F5L,S(N;&EB('5S97(S,BYL
      M:6(@9V1I,S(N;&EB(&EM;3,R+FQI8B!W:6YS<&]O;"YL:6(@8V]M9&QG,S(N
      M;&EB(&-O;6-T;#,R+FQI8B!A9'9A<&DS,BYL:6(@<VAE;&PS,BYL:6(@;VQE
      M,S(N;&EB(&]L96%U=#,R+FQI8B!U=6ED+FQI8B!O9&)C,S(N;&EB(&]D8F-C
      M<#,R+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ8V]N<V]L92`O9&5B=6<@+VUA
      M8VAI;F4Z23,X-@T*(2`C($%$1"!,24Y+,S(@;&EB8V0N;&EB(&]L9&YA;65S
      M+FQI8B!K97)N96PS,BYL:6(@=7-E<C,R+FQI8B!G9&DS,BYL:6(@:6UM,S(N
      M;&EB('=I;G-P;V]L+FQI8B!C;VUD;&<S,BYL:6(@8V]M8W1L,S(N;&EB(&%D
      M=F%P:3,R+FQI8B!S:&5L;#,R+FQI8B!O;&4S,BYL:6(@;VQE875T,S(N;&EB
      M('5U:60N;&EB(&]D8F,S,BYL:6(@;V1B8V-P,S(N;&EB("]N;VQO9V\@+W-U
      M8G-Y<W1E;3IW:6YD;W=S("]P<F]F:6QE("]D96)U9R`O;6%C:&EN93I),S@V
      M("]N;V1E9F%U;'1L:6(@+V]U=#HB9W9I;60N97AE(@T*("!,24Y+,S)?1DQ!
      M1U,];&EB8V0N;&EB(&]L9&YA;65S+FQI8B!K97)N96PS,BYL:6(@=7-E<C,R
      M+FQI8B!G9&DS,BYL:6(@:6UM,S(N;&EB7`T*("`@=VEN<W!O;VPN;&EB(&-O
      M;61L9S,R+FQI8B!C;VUC=&PS,BYL:6(@861V87!I,S(N;&EB('-H96QL,S(N
      M;&EB(&]L93,R+FQI8B!U=6ED+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ=VEN
      M9&]W<UP-"B`@("]P<F]F:6QE("]M87`Z(B0H24Y41$E2*5QG=FEM9"YM87`B
      M("]D96)U9R`O;6%C:&EN93I),S@V("]N;V1E9F%U;'1L:6(@+V]U=#HB9W9I
      M;60N97AE(B`-"BHJ*BHJ*BHJ*BHJ*BHJ*@T**BHJ(#0Y,"PT.38@*BHJ*@T*
      M("`)#0H@($Q)3DLS,CUL:6YK+F5X90T*("`C($%$1"!"05-%($Q)3DLS,B!K
      M97)N96PS,BYL:6(@=7-E<C,R+FQI8B!G9&DS,BYL:6(@:6UM,S(N;&EB('=I
      M;G-P;V]L+FQI8B!C;VUD;&<S,BYL:6(@8V]M8W1L,S(N;&EB(&%D=F%P:3,R
      M+FQI8B!S:&5L;#,R+FQI8B!O;&4S,BYL:6(@;VQE875T,S(N;&EB('5U:60N
      M;&EB(&]D8F,S,BYL:6(@;V1B8V-P,S(N;&EB("]N;VQO9V\@+W-U8G-Y<W1E
      M;3IC;VYS;VQE("]M86-H:6YE.DDS.#8@+V]U=#HB=FEM+F5X92(-"B$@(R!!
      M1$0@3$E.2S,R(&QI8F,N;&EB(&]L9&YA;65S+FQI8B!K97)N96PS,BYL:6(@
      M=7-E<C,R+FQI8B!G9&DS,BYL:6(@:6UM,S(N;&EB('=I;G-P;V]L+FQI8B!C
      M;VUD;&<S,BYL:6(@8V]M8W1L,S(N;&EB(&%D=F%P:3,R+FQI8B!S:&5L;#,R
      M+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ=VEN9&]W<R`O<')O9FEL92`O9&5B
      M=6<@+VUA8VAI;F4Z23,X-B`O;F]D969A=6QT;&EB("]O=70Z(F=V:6UR=V0N
      M97AE(@T*("!,24Y+,S)?1DQ!1U,];&EB8RYL:6(@;VQD;F%M97,N;&EB(&ME
      M<FYE;#,R+FQI8B!U<V5R,S(N;&EB(&=D:3,R+FQI8B!I;6TS,BYL:6)<#0H@
      M("!W:6YS<&]O;"YL:6(@8V]M9&QG,S(N;&EB(&-O;6-T;#,R+FQI8B!A9'9A
      M<&DS,BYL:6(@<VAE;&PS,BYL:6(@;VQE,S(N;&EB('5U:60N;&EB("]N;VQO
      M9V\@+W-U8G-Y<W1E;3IW:6YD;W=S7`T*("`@+W!R;V9I;&4@+V1E8G5G("]M
      M86-H:6YE.DDS.#8@+VYO9&5F875L=&QI8B`O;W5T.B)G=FEM<G=D+F5X92(@
      M#0HM+2T@-#DP+#0Y-B`M+2TM#0H@(`D-"B`@3$E.2S,R/6QI;FLN97AE#0H@
      M(",@041$($)!4T4@3$E.2S,R(&ME<FYE;#,R+FQI8B!U<V5R,S(N;&EB(&=D
      M:3,R+FQI8B!I;6TS,BYL:6(@=VEN<W!O;VPN;&EB(&-O;61L9S,R+FQI8B!C
      M;VUC=&PS,BYL:6(@861V87!I,S(N;&EB('-H96QL,S(N;&EB(&]L93,R+FQI
      M8B!O;&5A=70S,BYL:6(@=75I9"YL:6(@;V1B8S,R+FQI8B!O9&)C8W`S,BYL
      M:6(@+VYO;&]G;R`O<W5B<WES=&5M.F-O;G-O;&4@+VUA8VAI;F4Z23,X-B`O
      M;W5T.B)V:6TN97AE(@T*(2`C($%$1"!,24Y+,S(@;&EB8RYL:6(@;VQD;F%M
      M97,N;&EB(&ME<FYE;#,R+FQI8B!U<V5R,S(N;&EB(&=D:3,R+FQI8B!I;6TS
      M,BYL:6(@=VEN<W!O;VPN;&EB(&-O;61L9S,R+FQI8B!C;VUC=&PS,BYL:6(@
      M861V87!I,S(N;&EB('-H96QL,S(N;&EB(&]L93,R+FQI8B!O;&5A=70S,BYL
      M:6(@=75I9"YL:6(@;V1B8S,R+FQI8B!O9&)C8W`S,BYL:6(@+VYO;&]G;R`O
      M<W5B<WES=&5M.G=I;F1O=W,@+W!R;V9I;&4@+V1E8G5G("]M86-H:6YE.DDS
      M.#8@+VYO9&5F875L=&QI8B`O;W5T.B)G=FEM<G=D+F5X92(-"B`@3$E.2S,R
      M7T9,04=3/6QI8F,N;&EB(&]L9&YA;65S+FQI8B!K97)N96PS,BYL:6(@=7-E
      M<C,R+FQI8B!G9&DS,BYL:6(@:6UM,S(N;&EB7`T*("`@=VEN<W!O;VPN;&EB
      M(&-O;61L9S,R+FQI8B!C;VUC=&PS,BYL:6(@861V87!I,S(N;&EB('-H96QL
      M,S(N;&EB(&]L93,R+FQI8B!U=6ED+FQI8B`O;F]L;V=O("]S=6)S>7-T96TZ
      M=VEN9&]W<UP-"B`@("]P<F]F:6QE("]D96)U9R`O;6%C:&EN93I),S@V("]N
      A;V1E9F%U;'1L:6(@+V]U=#HB9W9I;7)W9"YE>&4B(`T*
      `
      end

      sum -r/size 7223/6838 section (from "begin" to "end")
      sum -r/size 65179/4938 entire input file

      --
      Walter Briscoe
    • Vince Negri
      ... Actually, the baseline system it needs to work on is VC4.1, since that was the last version to support Win32s. I don t think there were any changes between
      Message 2 of 4 , Jun 1, 2001
        Walter Briscoe [SMTP:wbriscoe@...]:
        > It may NOT work on VC++4.2.

        Actually, the baseline system it needs to
        work on is VC4.1, since that was the last version
        to support Win32s. I don't think there were any changes
        between 4.1 and 4.2 with respect to the makefile/dsp
        format but just to be on the safe side...

        BTW, your attachments always come out garbled here
        (probably our Exchange server's fault) Can you get
        Turnpike to use MIME instead for your Windows-related
        attachments?

        Vince
      • Bram Moolenaar
        ... Looks OK to me. Although you also added the oleaut32.lib , odbccp32.lib and odbc32.lib libraries, I don t think these are needed I ll test it later.
        Message 3 of 4 , Jun 1, 2001
          Walter Briscoe wrote:

          > Until now, I have built the several flavours of Vim with Make_mvc.mak
          > using VC++5 on Windows 95. I have been in difficulty when I wanted a
          > debug version to run from the IDE. I have usually hand-crafted a file.
          > I saw a reference, earlier this week, to Make_gvc.mak and thought:
          > "That's for me!". I tried using it. VC++5 recognised it as ancient and
          > converted it to its own format. When I tried to build, several variables
          > - including CoUninitialize - were missing. I looked at the .PLG and
          > found that references to ole32.lib were not passed to the linker. I
          > corrected Make_gvc.dsp and tested. I back-fitted corresponding changes
          > to Make_gvc.mak and tested that too. I enclose a patch.

          Looks OK to me. Although you also added the "oleaut32.lib", "odbccp32.lib"
          and "odbc32.lib" libraries, I don't think these are needed

          I'll test it later. I only have Devstudio 5.0 and 4.1.

          --
          hundred-and-one symptoms of being an internet addict:
          67. Your hard drive crashes. You haven't logged in for two hours. You start
          to twitch. You pick up the phone and manually dial your ISP's access
          number. You try to hum to communicate with the modem. You succeed.

          /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
          ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
          \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
        • Walter Briscoe
          In article of Fri, 1 Jun 2001 17:20:58 in !vim-dev, Bram Moolenaar writes ... I found the work
          Message 4 of 4 , Jun 4, 2001
            In article <200106011520.f51FKw410769@...> of Fri, 1 Jun 2001
            17:20:58 in !vim-dev, Bram Moolenaar <Bram@...> writes
            >
            >Walter Briscoe wrote:
            >
            >> Until now, I have built the several flavours of Vim with Make_mvc.mak
            >> using VC++5 on Windows 95. I have been in difficulty when I wanted a
            >> debug version to run from the IDE. I have usually hand-crafted a file.
            >> I saw a reference, earlier this week, to Make_gvc.mak and thought:
            >> "That's for me!". I tried using it. VC++5 recognised it as ancient and
            >> converted it to its own format. When I tried to build, several variables
            >> - including CoUninitialize - were missing. I looked at the .PLG and
            >> found that references to ole32.lib were not passed to the linker. I
            >> corrected Make_gvc.dsp and tested. I back-fitted corresponding changes
            >> to Make_gvc.mak and tested that too. I enclose a patch.
            >
            >Looks OK to me. Although you also added the "oleaut32.lib", "odbccp32.lib"
            >and "odbc32.lib" libraries, I don't think these are needed
            I found the work would not link. I found a subset of the libraries
            specified in the ADD BASE LINK32 was in the ADD LINK32 lines. I copied
            the differences through. I now find that only ole32.lib and uuid.lib
            were necessary. Make_gvc.mak seems to be something of a neglected
            orphan. I intend to give it some care!

            >
            >I'll test it later. I only have Devstudio 5.0 and 4.1.
            >

            --
            Walter Briscoe
          Your message has been successfully submitted and would be delivered to recipients shortly.