• ChangeLog: 2023-12-25 22:01 UTC-0500 Ron Pinkas

    From Ron Pinkas@21:1/5 to All on Mon Dec 25 22:30:42 2023
    2023-12-25 22:01 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    + bin/find_bc.bat
    + bin/find_bison.bat
    + bin/find_vc.bat
    + Added new shared scripts to simplify updates and avoid redundancy
    They find the respective tools and set the respective environment variables

    * make_bc.bat
    * make_vc.bat
    * bin/bld.bat
    + bin/bld_bc.bat
    * bin/bld_vc.bat
    * Rewrote to use the new shared scripts
    % Optimized to avoid redundant settings
    ! Fixed to avoid duplicate setting of PATH
    ! Fixed to correctly support side by side installations of BCC and MSVC with
    ability to switch between them without having to restart the shell.

    /*
    Please fix/add all other make_<compiler>.bat and bld_<compiler>.bat
    to follow the same logic/structure as make_bc.bat and bld_bc.bat

    With minor modification to support CONTRIB libs we can now remove all Contrib's
    specific bld_<compiler>.bat in favor of a single bld_<compiler>.bat
    */

    * bin/bld_b32.bat
    * Now alias to bld_bc.bat
    + make_b32.bat
    + New alias to make_bc.bat

    * winmake/mdir.bat
    * Do nott reset SUB_DIR
    * Default LIBEXT to ".lib" if not set already set.

    * tests/test.prg
    * Corrected LL to UL in version constants

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Dec 26 10:44:36 2023
    Il 26/12/2023 04:30, Ron Pinkas ha scritto:

    2023-12-25 22:01 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    Now I get this:

    ***For your convenience xHarbour's bin directory was added to your PATH
    For your convenience MSVC's bin folders were added to PATH
    Removing System and Object Files ...
    Removing DLL and Object Files ...
    Removing Contrib Libraries and Object Files ...
    Done ...

    ****** End of Job *****
    ***For your convenience xHarbour's bin directory was added to your PATH
    For your convenience MSVC's bin folders were added to PATH
    Creating System Files (ST) ...
    "nmake" non è riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    "notepad" non è riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    ***For your convenience xHarbour's bin directory was added to your PATH
    For your convenience MSVC's bin folders were added to PATH
    Creating Contrib Libraries ...
    "nmake" non è riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    "notepad" non è riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    Premere un tasto per continuare . . .

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Dec 26 11:29:11 2023
    Il 26/12/2023 10:44, Enrico Maria Giordano ha scritto:

    Now I get this:

    ***For your convenience xHarbour's bin directory was added to your PATH
    For your convenience MSVC's bin folders were added to PATH
    Removing System and Object Files ...
    Removing DLL and Object Files ...
    Removing Contrib Libraries and Object Files ...
    Done ...

    ****** End of Job *****
    ***For your convenience xHarbour's bin directory was added to your PATH
    For your convenience MSVC's bin folders were added to PATH
    Creating System Files (ST) ...
    "nmake" non è riconosciuto come comando interno o esterno,
     un programma eseguibile o un file batch.
    "notepad" non è riconosciuto come comando interno o esterno,
     un programma eseguibile o un file batch.
    ***For your convenience xHarbour's bin directory was added to your PATH
    For your convenience MSVC's bin folders were added to PATH
    Creating Contrib Libraries ...
    "nmake" non è riconosciuto come comando interno o esterno,
     un programma eseguibile o un file batch.
    "notepad" non è riconosciuto come comando interno o esterno,
     un programma eseguibile o un file batch.
    Premere un tasto per continuare . . .

    And this is what I get with BCC32:


    ------------------------------
    Make Utility for Borland C/C++
    ------------------------------

    Borland C/C++ not found.
    Please install Borland C/C++ and try again.


    ------------------------------
    Make Utility for Borland C/C++
    ------------------------------

    Borland C/C++ not found.
    Please install Borland C/C++ and try again.


    ------------------------------
    Make Utility for Borland C/C++
    ------------------------------

    Borland C/C++ not found.
    Please install Borland C/C++ and try again.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Dec 26 12:01:01 2023
    I'm working with the previous build system (the one before your
    modifications) for the moment.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Dec 26 16:31:29 2023
    Il 26/12/2023 16:16, Ron Pinkas ha scritto:

    The idea behind the make and build scrips is to allow users to build
    their applications (and xHarbour if they choose) withOUT having to
    set anything, other than STANDARD installation of their C
    compiler[s].

    As per the ChangeLog we now have a unified find_vc.bat and
    find_bc.bat - Your errors above suggest that you have MSVC and BCC in locations NOT detected by find_vc.bat/find_bc.bat.

    Can you please advise me which Version of MSVC you have and WHICH
    Directory it was installed into, was it the standard default install location?

    Can you please provide same info for your BCC installation?

    I have more than one version installed of MSC and BCC, so I can't have
    them all in the standard default install location.

    If you have NON STANDARD install, what was your past approach? Did
    you add your BCC to PATH and just called make_bc.bat? If so I will
    quickly add support for that approach.

    My approach for years is:

    SET CC_DIR=<installation directory>

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Tue Dec 26 17:09:07 2023
    Enrico Maria Giordano wrote:


    Il 26/12/2023 16:16, Ron Pinkas ha scritto:

    The idea behind the make and build scrips is to allow users to build
    their applications (and xHarbour if they choose) withOUT having to
    set anything, other than STANDARD installation of their C
    compiler[s].

    As per the ChangeLog we now have a unified find_vc.bat and find_bc.bat - Your errors above suggest that you have MSVC and BCC in
    locations NOT detected by find_vc.bat/find_bc.bat.

    Can you please advise me which Version of MSVC you have and WHICH
    Directory it was installed into, was it the standard default install location?

    Can you please provide same info for your BCC installation?

    I have more than one version installed of MSC and BCC, so I can't have
    them all in the standard default install location.

    If you have NON STANDARD install, what was your past approach? Did you
    add your BCC to PATH and just called make_bc.bat? If so I will
    quickly add support for that approach.

    My approach for years is:

    SET CC_DIR=<installation directory>


    Thanks, fixed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)