• Re: Change: 2023-12-27 12:20 UTC-0500 Ron Pinkas

    From Ron Pinkas@21:1/5 to Ron Pinkas on Wed Dec 27 12:44:08 2023
    Ron Pinkas wrote:

    2023-12-27 12:20 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * bin/find_bc.bat
    * bin/find_vc.bat
    * Fixed support of auto PATH setting for manual CC_DIR setup

    * bin/bld_bc.bat
    * bin/bld_vc.bat
    * make_bc.bat
    * make_vc.bat
    * Removed redundant checks of CC and CC_DIR

    Enrico,

    Can you please provide your status report after this ChangeLog, as a
    reply to this message.

    ----------

    All Users,

    Some notes about Windows make/build support:

    1. My intention is to have NO SETUP at all other than STANDARD DEFAULT
    install of C Compiler.

    2. If NON standard installation, or MULTIPLE C Compilers, the most
    minimal setting should be required. Meaning JUST CC_DIR=<Compiler Root> (assuming standard bin, include, and lib sub folders).

    3. No -L<path> or -I<path> should ever be required except for 3rd party products.

    4. No -D<define> should ever be required for standard default build, on
    any compiler or archittecture.

    5. If #1 is not available for anyone's STANDARD installation then please
    ADD the standard location to find_<compiler>.bat instead of setting
    CC_DIR.

    6. IF #2 is not sufficient for MULTIPLE C Compilers then please report.

    7. IF #3 not working for your case then please report.

    8. IF #4 not working for your case then please report.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Dec 27 19:08:59 2023
    Il 27/12/2023 18:26, Ron Pinkas ha scritto:

    2023-12-27 12:20 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * bin/find_bc.bat
    * bin/find_vc.bat
    * Fixed support of auto PATH setting for manual CC_DIR setup

    * bin/bld_bc.bat
    * bin/bld_vc.bat
    * make_bc.bat
    * make_vc.bat
    * Removed redundant checks of CC and CC_DIR

    With these steps:

    @ ECHO OFF

    SET MSC=e:\msc32\msc

    SET CC_DIR=%MSC%

    CALL make_vc clean

    PAUSE

    I get:

    Using CC_DIR: 'e:\msc32\msc'
    For your convenience MSVC's bin directory was added to your PATH
    "ERROR: Microsoft Visual C++ not found!"

    ---------------------------------------
    Make Utility for Miscosoft Visual C/C++
    ---------------------------------------

    Microsoft Visual C/C++ not found.
    Please install Microsoft Visual 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 Ron Pinkas@21:1/5 to Enrico Maria Giordano on Wed Dec 27 13:27:25 2023
    Enrico Maria Giordano wrote:


    Il 27/12/2023 18:26, Ron Pinkas ha scritto:

    2023-12-27 12:20 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * bin/find_bc.bat
    * bin/find_vc.bat
    * Fixed support of auto PATH setting for manual CC_DIR setup

    * bin/bld_bc.bat
    * bin/bld_vc.bat
    * make_bc.bat
    * make_vc.bat
    * Removed redundant checks of CC and CC_DIR

    With these steps:

    @ ECHO OFF

    SET MSC=e:\msc32\msc

    SET CC_DIR=%MSC%

    CALL make_vc clean

    PAUSE

    I get:

    Using CC_DIR: 'e:\msc32\msc'
    For your convenience MSVC's bin directory was added to your PATH
    "ERROR: Microsoft Visual C++ not found!"

    ---------------------------------------
    Make Utility for Miscosoft Visual C/C++
    ---------------------------------------

    Microsoft Visual C/C++ not found.
    Please install Microsoft Visual C/C++ and try again.


    So sorry, silly typo. Please check after:
    2023-12-27 13:21 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Dec 27 19:47:01 2023
    Il 27/12/2023 19:27, Ron Pinkas ha scritto:

    So sorry, silly typo. Please check after:
    2023-12-27 13:21 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    MSC32 build seems to work fine!

    @ ECHO OFF

    SET MSC=e:\msc32\msc

    SET CC_DIR=%MSC%

    SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
    SET LIB=%MSC%\lib;%MSC%\lib\sdk

    CALL make_vc all

    PAUSE

    Now, I will try the other compilers...

    --
    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 Wed Dec 27 19:57:20 2023
    Only a question: after the tests, can we rem out all that debug
    messages? I'm referring to these:

    Using CC_DIR: 'e:\fw\temp\msc64\msc'
    For your convenience MSVC's bin directory was added to your PATH

    --
    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 Wed Dec 27 15:13:40 2023
    Enrico Maria Giordano wrote:

    Only a question: after the tests, can we rem out all that debug
    messages? I'm referring to these:

    Using CC_DIR: 'e:\fw\temp\msc64\msc'
    For your convenience MSVC's bin directory was added to your PATH


    Enrico,

    Thanks for the confirmation. :)

    I believe these are important messages that should stay, just my 2c.

    BTW, I continue to optimize those scripts so if I break it again then
    please let me know since I do not have your setup. My apologies in
    advance.


    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Dec 27 21:30:18 2023
    Il 27/12/2023 21:13, Ron Pinkas ha scritto:

    Only a question: after the tests, can we rem out all that debug
    messages? I'm referring to these:

    Using CC_DIR: 'e:\fw\temp\msc64\msc'
    For your convenience MSVC's bin directory was added to your PATH

    Enrico,

    Thanks for the confirmation. :)

    Thanks to you!

    I believe these are important messages that should stay, just my 2c.

    Ok, no problem.

    BTW, I continue to optimize those scripts so if I break it again then
    please let me know since I do not have your setup. My apologies in
    advance.

    Sure.

    --
    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 Wed Dec 27 15:19:46 2023
    Enrico Maria Giordano wrote:


    Il 27/12/2023 19:27, Ron Pinkas ha scritto:

    So sorry, silly typo. Please check after:
    2023-12-27 13:21 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    MSC32 build seems to work fine!

    Cool, thx for your help. :)

    @ ECHO OFF

    SET MSC=e:\msc32\msc

    SET CC_DIR=%MSC%

    SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
    SET LIB=%MSC%\lib;%MSC%\lib\sdk

    I suspect that at least the '%MSC%\include' and '%MSC%\lib' are not
    required - They should be autoatically set.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Dec 27 23:32:37 2023
    Il 27/12/2023 21:19, Ron Pinkas ha scritto:

    SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
    SET LIB=%MSC%\lib;%MSC%\lib\sdk

    I suspect that at least the '%MSC%\include' and '%MSC%\lib' are not
    required - They should be autoatically set.

    Yes, I confirm.

    --
    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 Wed Dec 27 18:59:34 2023
    Enrico Maria Giordano wrote:


    Il 27/12/2023 21:19, Ron Pinkas ha scritto:

    SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
    SET LIB=%MSC%\lib;%MSC%\lib\sdk

    I suspect that at least the '%MSC%\include' and '%MSC%\lib' are not required - They should be autoatically set.

    Yes, I confirm.


    Cool, thx. :)

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