• ChangeLog: 2024-01-03 17:15 UTC-0500 Ron Pinkas

    From Ron Pinkas@21:1/5 to All on Wed Jan 3 17:16:53 2024
    2024-01-03 17:15 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * bin/bld.bat
    + Added support for VS 64bit build (w64)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 10:12:05 2024
    This is what I get building xHarbour with MSC32 using the current
    repository:

    For your convenience xHarbour's bin directory was added to your PATH.
    Could not find Microsoft C++ at 'e:\msc32\msc'!

    This is the batch I'm using:

    @ ECHO OFF

    SET MSC=e:\msc32\msc

    SET CC_DIR=%MSC%

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

    CALL make_vc all

    PAUSE

    --
    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 Thu Jan 4 14:56:23 2024
    Il 04/01/2024 10:12, Enrico Maria Giordano ha scritto:

    This is what I get building xHarbour with MSC32 using the current
    repository:

    For your convenience xHarbour's bin directory was added to your PATH.
    Could not find Microsoft C++ at 'e:\msc32\msc'!

    The problem seems to be in these lines:

    REM MSC Specific!
    IF EXIST "%CC_DIR%\Common7\Tools\VsDevCmd.bat" EXIT /B 0
    IF EXIST "%CC_DIR%\..\Common7\Tools\VsDevCmd.bat" EXIT /B 0

    There is no %CC_DIR%\Common7\Tools\VsDevCmd.bat in my MSC installation.
    Why not testing for the existence of %CC_DIR%\bin\cl.exe instead?

    --
    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 Thu Jan 4 15:55:34 2024
    Il 04/01/2024 15:38, Ron Pinkas ha scritto:

    There is no %CC_DIR%\Common7\Tools\VsDevCmd.bat in my MSC installation.
    Why not testing for the existence of %CC_DIR%\bin\cl.exe instead?

    Not instead, I will add it. The latest versionss of MSVC do not have a bin\cl.exe.

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?

    --
    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 Thu Jan 4 09:38:23 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 10:12, Enrico Maria Giordano ha scritto:

    This is what I get building xHarbour with MSC32 using the current repository:

    For your convenience xHarbour's bin directory was added to your PATH.
    Could not find Microsoft C++ at 'e:\msc32\msc'!

    The problem seems to be in these lines:

    REM MSC Specific!
    IF EXIST "%CC_DIR%\Common7\Tools\VsDevCmd.bat" EXIT /B 0
    IF EXIST "%CC_DIR%\..\Common7\Tools\VsDevCmd.bat" EXIT /B 0

    There is no %CC_DIR%\Common7\Tools\VsDevCmd.bat in my MSC installation.
    Why not testing for the existence of %CC_DIR%\bin\cl.exe instead?


    Not instead, I will add it. The latest versionss of MSVC do not have a bin\cl.exe.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 11:08:15 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 15:38, Ron Pinkas ha scritto:

    There is no %CC_DIR%\Common7\Tools\VsDevCmd.bat in my MSC installation. Why not testing for the existence of %CC_DIR%\bin\cl.exe instead?

    Not instead, I will add it. The latest versionss of MSVC do not have a bin\cl.exe.

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?


    For many many years MSVC is installed onto the locations you can see in known.vc file and those installations have a common7\Tools sub folder.
    They also have multiple cl.exe like this:

     dir c:\cl.exe /s
    Volume in drive C is Windows
    Volume Serial Number is 3607-BED9

    Directory of c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64

    04/05/2023 03:17 PM 804,848 cl.exe
    1 File(s) 804,848 bytes

    Directory of c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x86

    04/05/2023 03:17 PM 806,896 cl.exe
    1 File(s) 806,896 bytes

    Directory of c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx86\x64

    04/05/2023 03:16 PM 654,320 cl.exe
    1 File(s) 654,320 bytes

    Directory of c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx86\x86

    04/05/2023 03:16 PM 655,808 cl.exe
    1 File(s) 655,808 bytes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 17:18:07 2024
    Il 04/01/2024 17:08, Ron Pinkas ha scritto:

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?

    For many many years MSVC is installed onto the locations you can see in known.vc file and those installations have a common7\Tools sub folder.
    They also have multiple cl.exe like this:

    Ok, but I never used the standard mess of MS, only the usual
    bin/include/lib directories. Can you make the build system to work with
    this too, please?

    --
    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 Thu Jan 4 11:19:11 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 15:38, Ron Pinkas ha scritto:

    There is no %CC_DIR%\Common7\Tools\VsDevCmd.bat in my MSC installation. Why not testing for the existence of %CC_DIR%\bin\cl.exe instead?

    Not instead, I will add it. The latest versionss of MSVC do not have a bin\cl.exe.

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?


    I am curious, how did you install so that it does not have Common7? and
    have bin\cl.exe insttead of multiple cl.exe locations?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 11:20:10 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 17:08, Ron Pinkas ha scritto:

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?

    For many many years MSVC is installed onto the locations you can see in known.vc file and those installations have a common7\Tools sub folder.
    They also have multiple cl.exe like this:

    Ok, but I never used the standard mess of MS, only the usual
    bin/include/lib directories. Can you make the build system to work with
    this too, please?

    Of course. :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 11:22:53 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 17:08, Ron Pinkas ha scritto:

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?

    For many many years MSVC is installed onto the locations you can see in known.vc file and those installations have a common7\Tools sub folder.
    They also have multiple cl.exe like this:

    Ok, but I never used the standard mess of MS, only the usual
    bin/include/lib directories. Can you make the build system to work with
    this too, please?


    How did you do that, did you manually move it or was there an
    installation option?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Ron Pinkas on Thu Jan 4 12:52:39 2024
    Ron Pinkas wrote:
    Enrico Maria Giordano wrote:


    Il 04/01/2024 17:08, Ron Pinkas ha scritto:

    Thank you. To what "latest version" are you referring to? Mine is

    Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86

    From which version there is no cl.exe anymore? And what is there instead?

    For many many years MSVC is installed onto the locations you can see in known.vc file and those installations have a common7\Tools sub folder. They also have multiple cl.exe like this:

    Ok, but I never used the standard mess of MS, only the usual bin/include/lib directories. Can you make the build system to work with this too, please?

    Of course. :)

    Please check after: 2024-01-04 12:50 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 Thu Jan 4 19:04:56 2024
    Il 04/01/2024 17:20, Ron Pinkas ha scritto:

    Ok, but I never used the standard mess of MS, only the usual
    bin/include/lib directories. Can you make the build system to work with
    this too, please?

    Of course. :)

    Thank you! :-)

    --
    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 Thu Jan 4 19:06:17 2024
    Il 04/01/2024 17:22, Ron Pinkas ha scritto:

    How did you do that, did you manually move it or was there an
    installation option?

    Unfortunately, no install option exists that make it.

    --
    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 Thu Jan 4 19:10:52 2024
    Il 04/01/2024 18:52, Ron Pinkas ha scritto:

    Please check after: 2024-01-04 12:50 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    Now I get this:

    For your convenience xHarbour's bin directory was added to your PATH. Impossibile trovare il percorso specificato.
    "ERROR: Microsoft C++ not found!"

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

    Microsoft Visual C/C++ not found.
    Please install 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 Thu Jan 4 13:23:54 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 18:52, Ron Pinkas ha scritto:

    Please check after: 2024-01-04 12:50 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    Now I get this:

    For your convenience xHarbour's bin directory was added to your PATH. Impossibile trovare il percorso specificato.
    "ERROR: Microsoft C++ not found!"

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

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


    Sorry, try: 2024-01-04 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 Thu Jan 4 20:25:31 2024
    BCC32 errors out:

    ILINK32 -ap -Tpe -x -Gn -C -Llib\b32 -LECHO disattivato. -Le:\bcc32\bcc\lib;e:\bcc32\bcc\lib\psdk c0x32.obj obj\b32\hblib.obj ,bin\b32\hblib.exe,, ws2_32.lib cw32mt.lib import32.lib
    Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero
    Technologies, Inc.
    Fatal: Unable to open file 'DISATTIVATO.'

    My batch:

    @ ECHO OFF

    SET BCC=e:\bcc32\bcc

    SET CC_DIR=%BCC%

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE

    --
    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 Thu Jan 4 20:23:22 2024
    Il 04/01/2024 19:23, Ron Pinkas ha scritto:

    Sorry, try: 2024-01-04 13:21 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    MSC32 and MSC64 OK!

    --
    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 Thu Jan 4 14:39:12 2024
    Enrico Maria Giordano wrote:

    BCC64, I get:

    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.
    Could not find Borland C++ at 'e:\fw\temp\bcc64\bcc'!
    Search known locations (Y/N)? y
    Searching for Borland C++...
    "ERROR: Borland C++ not found!"

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

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

    My batch:

    @ ECHO OFF

    SET BCC=e:\fw\temp\bcc64\bcc

    SET CC_DIR=%BCC%

    SET HB_ARCH=64

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE


    I am going to review but few immediate notes for you:

    1. HB_ARCH should be w64 - I know you reverted makegc64.bat but instead
    the makefile for gcc should be corrected.

    2. If the compiler has a <>.cfg file then you don't need to set LFLAGS.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 20:29:33 2024
    BCC64, I get:

    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.
    Could not find Borland C++ at 'e:\fw\temp\bcc64\bcc'!
    Search known locations (Y/N)? y
    Searching for Borland C++...
    "ERROR: Borland C++ not found!"

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

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

    My batch:

    @ ECHO OFF

    SET BCC=e:\fw\temp\bcc64\bcc

    SET CC_DIR=%BCC%

    SET HB_ARCH=64

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE

    --
    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 Thu Jan 4 14:44:15 2024
    Enrico Maria Giordano wrote:

    BCC32 errors out:

    ILINK32 -ap -Tpe -x -Gn -C -Llib\b32 -LECHO disattivato. -Le:\bcc32\bcc\lib;e:\bcc32\bcc\lib\psdk c0x32.obj obj\b32\hblib.obj ,bin\b32\hblib.exe,, ws2_32.lib cw32mt.lib import32.lib
    Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero
    Technologies, Inc.
    Fatal: Unable to open file 'DISATTIVATO.'

    My batch:

    @ ECHO OFF

    SET BCC=e:\bcc32\bcc

    SET CC_DIR=%BCC%

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE


    Enrico,

    I have no clue where '-LECHO disattivato.' comes from. I will have to try
    to simulate your setup.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 14:51:09 2024
    Enrico Maria Giordano wrote:

    BCC64, I get:

    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.

    Are you sure you get that line duplicated? I am not able to replicate
    nor can I explain.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 14:46:53 2024
    Enrico Maria Giordano wrote:

    e:\fw\temp\bcc64\bcc

    What is the name of the compiler executable in:

    e:\fw\temp\bcc64\bcc\bin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 21:15:21 2024
    Il 04/01/2024 20:39, Ron Pinkas ha scritto:

    I am going to review but few immediate notes for you:

    1. HB_ARCH should be w64 - I know you reverted makegc64.bat but instead
    the makefile for gcc should be corrected.

    Please, look at this line (just an example):

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)

    The library name should be:

    vm64

    But if HB_ARCH is w64 the name would be:

    vmw64

    that is not correct. So, how to fix it?

    2. If the compiler has a <>.cfg file then you don't need to set LFLAGS.

    Yes, I know, but I prefer using LFLAGS so I don't have to change the
    content of the CFG file any time I rename the compiler 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 Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 21:17:18 2024
    Il 04/01/2024 20:44, Ron Pinkas ha scritto:

    I have no clue where '-LECHO disattivato.' comes from. I will have to try
    to simulate your setup.

    It comes from this line, I think:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) -L$(BCC_LIB) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    because BCC_LIB is empty.

    --
    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 Thu Jan 4 21:18:52 2024
    Il 04/01/2024 20:46, Ron Pinkas ha scritto:

    What is the name of the compiler executable in:

    e:\fw\temp\bcc64\bcc\bin

    bcc64.exe

    Please note that it is a CLANG compiler.

    --
    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 Thu Jan 4 21:20:39 2024
    Il 04/01/2024 20:51, Ron Pinkas ha scritto:

    BCC64, I get:

    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.

    Are you sure you get that line duplicated? I am not able to replicate
    nor can I explain.

    No, sorry, it is NOT duplicated.

    --
    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 Thu Jan 4 15:23:25 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 20:46, Ron Pinkas ha scritto:

    What is the name of the compiler executable in:

    e:\fw\temp\bcc64\bcc\bin

    bcc64.exe

    Please note that it is a CLANG compiler.


    Is that the original name in the official distribution or do they have bcc64c.exe and bcc664x.exe?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 15:30:09 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 20:44, Ron Pinkas ha scritto:

    I have no clue where '-LECHO disattivato.' comes from. I will have to try to simulate your setup.

    It comes from this line, I think:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) -L$(BCC_LIB) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    because BCC_LIB is empty.


    But if its empty it shold just have been '-L' (empty) - so strange.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 15:28:43 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 20:51, Ron Pinkas ha scritto:

    BCC64, I get:

    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.

    Are you sure you get that line duplicated? I am not able to replicate
    nor can I explain.

    No, sorry, it is NOT duplicated.


    Ufff, you had me real worried :) The batch file interpreter is SOOOOO
    buggy, I am literally SCARED every time I am forced to make even the
    most insignificant change I have to test EVERYTHING from scratch.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 15:26:15 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 20:39, Ron Pinkas ha scritto:

    I am going to review but few immediate notes for you:

    1. HB_ARCH should be w64 - I know you reverted makegc64.bat but instead
    the makefile for gcc should be corrected.

    Please, look at this line (just an example):

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)

    The library name should be:

    vm64

    But if HB_ARCH is w64 the name would be:

    vmw64

    that is not correct. So, how to fix it?

    Enrico, I am not arguing just curious, why would vmw64 be a wrong name?

    2. If the compiler has a <>.cfg file then you don't need to set LFLAGS.

    Yes, I know, but I prefer using LFLAGS so I don't have to change the
    content of the CFG file any time I rename the compiler installation directory.

    Now you have me real curious :) - WHY/WHEN do you need to rename?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 15:46:18 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 20:46, Ron Pinkas ha scritto:

    What is the name of the compiler executable in:

    e:\fw\temp\bcc64\bcc\bin

    bcc64.exe

    Please note that it is a CLANG compiler.


    Enrico, if you add:

    SET CC=bcc64

    Does it fix the problem?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 23:05:54 2024
    Il 04/01/2024 21:26, Ron Pinkas ha scritto:

    Please, look at this line (just an example):

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)

    The library name should be:

    vm64

    But if HB_ARCH is w64 the name would be:

    vmw64

    that is not correct. So, how to fix it?

    Enrico, I am not arguing just curious, why would vmw64 be a wrong name?

    I don't know... because the one for MSC64 is called vm64.lib? Are you
    proposing to change the name for MGW64 to vmw64.lib? If yes, why?

    2. If the compiler has a <>.cfg file then you don't need to set LFLAGS.

    Yes, I know, but I prefer using LFLAGS so I don't have to change the
    content of the CFG file any time I rename the compiler installation
    directory.

    Now you have me real curious :) - WHY/WHEN do you need to rename?

    I experiment with different compiler versions so I need to change their location often. I don't want to change the CFG file any time.

    --
    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 Thu Jan 4 23:00:16 2024
    Il 04/01/2024 21:23, Ron Pinkas ha scritto:

    bcc64.exe

    Please note that it is a CLANG compiler.

    Is that the original name in the official distribution or do they have bcc64c.exe and bcc664x.exe?

    No, BCC64 only comes in CLANG flavour.

    --
    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 Thu Jan 4 17:06:06 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:23, Ron Pinkas ha scritto:

    bcc64.exe

    Please note that it is a CLANG compiler.

    Is that the original name in the official distribution or do they have bcc64c.exe and bcc664x.exe?

    No, BCC64 only comes in CLANG flavour.


    Does itt work if you set CC=bcc64 (without.exe!!!)?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 17:07:37 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:26, Ron Pinkas ha scritto:

    Please, look at this line (just an example):

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)

    The library name should be:

    vm64

    But if HB_ARCH is w64 the name would be:

    vmw64

    that is not correct. So, how to fix it?

    Enrico, I am not arguing just curious, why would vmw64 be a wrong name?

    I don't know... because the one for MSC64 is called vm64.lib? Are you proposing to change the name for MGW64 to vmw64.lib? If yes, why?

    2. If the compiler has a <>.cfg file then you don't need to set LFLAGS.

    Yes, I know, but I prefer using LFLAGS so I don't have to change the content of the CFG file any time I rename the compiler installation directory.

    Now you have me real curious :) - WHY/WHEN do you need to rename?

    I experiment with different compiler versions so I need to change their location often. I don't want to change the CFG file any time.


    But you can have as many compilers as you want and each in its own
    (properly named) directory - what am I missing?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jan 4 23:09:16 2024
    Il 04/01/2024 21:46, Ron Pinkas ha scritto:

    Enrico, if you add:

    SET CC=bcc64

    Does it fix the problem?

    No:

    For your convenience xHarbour's bin directory was added to your PATH.
    'bcc64' is not supported by this batch file.

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

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

    My batch:

    @ ECHO OFF

    SET BCC=e:\fw\temp\bcc64\bcc

    SET CC_DIR=%BCC%

    SET CC=bcc64

    SET HB_ARCH=64

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE

    --
    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 Thu Jan 4 23:13:10 2024
    Il 04/01/2024 23:07, Ron Pinkas ha scritto:

    I experiment with different compiler versions so I need to change their
    location often. I don't want to change the CFG file any time.

    But you can have as many compilers as you want and each in its own
    (properly named) directory - what am I missing?

    If I move one compiler from a directory to another then I had to change
    the CFG.

    --
    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 Thu Jan 4 23:39:23 2024
    Il 04/01/2024 21:17, Enrico Maria Giordano ha scritto:

    I have no clue where '-LECHO disattivato.' comes from. I will have to try
    to simulate your setup.

    It comes from this line, I think:

    LINK_CMD       =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) -L$(BCC_LIB) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    because BCC_LIB is empty.

    If I remove -L$(BCC_LIB) then it works fine:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    --
    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 Thu Jan 4 18:19:11 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 23:07, Ron Pinkas ha scritto:

    I experiment with different compiler versions so I need to change their location often. I don't want to change the CFG file any time.

    But you can have as many compilers as you want and each in its own (properly named) directory - what am I missing?

    If I move one compiler from a directory to another then I had to change
    the CFG.


    But why move? you can have all the compilers, each one in itts own fixed location, no?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 18:21:12 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:30, Ron Pinkas ha scritto:

    because BCC_LIB is empty.

    But if its empty it shold just have been '-L' (empty) - so strange.

    Do you want me to find the bug?


    Sure. I did not writte the make file, and I don't have tthis issue.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 18:22:50 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:17, Enrico Maria Giordano ha scritto:

    I have no clue where '-LECHO disattivato.' comes from. I will have to try to simulate your setup.

    It comes from this line, I think:

    LINK_CMD       =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) -L$(BCC_LIB) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    because BCC_LIB is empty.

    If I remove -L$(BCC_LIB) then it works fine:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,


    its simple to fix using bcclibflag tthat will be empty if bcc_lib is
    empty.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 18:23:45 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:46, Ron Pinkas ha scritto:

    Enrico, if you add:

    SET CC=bcc64

    Does it fix the problem?

    No:

    For your convenience xHarbour's bin directory was added to your PATH.
    'bcc64' is not supported by this batch file.

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

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

    My batch:

    @ ECHO OFF

    SET BCC=e:\fw\temp\bcc64\bcc

    SET CC_DIR=%BCC%

    SET CC=bcc64

    SET HB_ARCH=64

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE


    Ok, easy to fix. :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Jan 4 19:38:46 2024
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:46, Ron Pinkas ha scritto:

    Enrico, if you add:

    SET CC=bcc64

    Does it fix the problem?

    No:

    For your convenience xHarbour's bin directory was added to your PATH.
    'bcc64' is not supported by this batch file.

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

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

    My batch:

    @ ECHO OFF

    SET BCC=e:\fw\temp\bcc64\bcc

    SET CC_DIR=%BCC%

    SET CC=bcc64

    SET HB_ARCH=64

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE

    Try after: 2024-01-04 19:36 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    BTW, I beleive LFLAGS not needed even without .cfg.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Ron Pinkas on Thu Jan 4 19:44:03 2024
    Ron Pinkas wrote:
    Enrico Maria Giordano wrote:


    Il 04/01/2024 21:17, Enrico Maria Giordano ha scritto:

    I have no clue where '-LECHO disattivato.' comes from. I will have to try
    to simulate your setup.

    It comes from this line, I think:

    LINK_CMD       =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) -L$(BCC_LIB) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    because BCC_LIB is empty.

    If I remove -L$(BCC_LIB) then it works fine:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,


    its simple to fix using bcclibflag tthat will be empty if bcc_lib is
    empty.

    Should be fixed after: 2024-01-04 19:36 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    BTW, appolgies for my typing (on this macbook internal keybaord) tends to produce replicate of letters mosttly tttt :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Jan 5 09:48:48 2024
    Il 05/01/2024 00:22, Ron Pinkas ha scritto:

    If I remove -L$(BCC_LIB) then it works fine:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C
    -L$(LIB_DIR) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    its simple to fix using bcclibflag tthat will be empty if bcc_lib is
    empty.

    I don't understand. Can you apply the fix yourself so I can test it, please?

    --
    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 Fri Jan 5 09:46:33 2024
    Il 05/01/2024 00:19, Ron Pinkas ha scritto:

    If I move one compiler from a directory to another then I had to change
    the CFG.

    But why move? you can have all the compilers, each one in itts own fixed location, no?

    No, I need to move the compilers or simply rename their directories. I'm experimenting with them. The one that I'm using for my work are already
    in a fixed location, of course.

    --
    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 Fri Jan 5 10:02:02 2024
    Il 05/01/2024 01:44, Ron Pinkas ha scritto:

    Should be fixed after: 2024-01-04 19:36 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    Now I get this on the console:

    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience xHarbour's bin directory was added to your PATH.
    For your convenience bcc32's bin directory was added to your PATH
    Creating System Files (ST) ...

    And this on the log:

    ILINK32 -ap -Tpe -x -Gn -C -Llib\b32 -LECHO disattivato. -Le:\bcc32\bcc\lib;e:\bcc32\bcc\lib\psdk c0x32.obj obj\b32\hblib.obj ,bin\b32\hblib.exe,, ws2_32.lib cw32mt.lib import32.lib
    Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero
    Technologies, Inc.
    Fatal: Unable to open file 'DISATTIVATO.'

    My batch:

    @ ECHO OFF

    SET BCC=e:\bcc32\bcc

    SET CC_DIR=%BCC%

    SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

    CALL make_bc all

    PAUSE

    --
    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 Fri Jan 5 10:09:15 2024
    Enrico Maria Giordano wrote:


    Il 05/01/2024 00:22, Ron Pinkas ha scritto:

    If I remove -L$(BCC_LIB) then it works fine:

    LINK_CMD =$(LINKEXE) $(CC_LINKER_DEBUG_FLAGS) -ap -Tpe -x -Gn -C -L$(LIB_DIR) $(LFLAGS) $(BCC_STARTUP_OBJ) $**,$@,,

    its simple to fix using bcclibflag tthat will be empty if bcc_lib is
    empty.

    I don't understand. Can you apply the fix yourself so I can test it, please?


    I did, and did describe itt in the ChanngeLog.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Jan 5 17:09:05 2024
    Il 05/01/2024 16:09, Ron Pinkas ha scritto:

    I don't understand. Can you apply the fix yourself so I can test it, please?

    I did, and did describe itt in the ChanngeLog.

    Unfortunately it does not work for me. :-(

    --
    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)