Discussion:
ChangeLog: 2024-01-18 17:53 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
(too old to reply)
Ron Pinkas
2024-01-18 22:54:46 UTC
Permalink
2024-01-18 17:53 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
* winmake/find_bc.bat
* winmake/find_clng.bat
* winmake/find_pc.bat
* winmake/find_vc.bat
* Refinment - enclose CC_LONG_NAME in quotes to avoid issues with spaces in name
Enrico Maria Giordano
2024-01-19 09:15:57 UTC
Permalink
Post by Ron Pinkas
2024-01-18 17:53 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
* winmake/find_bc.bat
* winmake/find_clng.bat
* winmake/find_pc.bat
* winmake/find_vc.bat
* Refinment - enclose CC_LONG_NAME in quotes to avoid issues with spaces in name
For your convenience xHarbour's bin directory was added to your PATH.
Impossibile trovare l'etichetta batch specificata - SET_CC_CNAME64

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

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

functions.log:

*** START [E:\FW\xHarbourOLD\make_bc.bat](all)
*** started [E:\FW\xHarbourOLD\winmake\find_bc.bat]
*** started(bcc32c Borland C/C++)
[E:\FW\xHarbourOLD\winmake\found_cc.bat]
*** Raw Arguments: (toAbsPath E:\FW\xHarbourOLD\winmake\.. HB_INSTALL)
*** Raw Arguments: [toAbsPath] [E:\FW\xHarbourOLD\winmake\..]
[HB_INSTALL] [] []
*** Parsed [2] :toAbsPath(
E:\FW\xHarbourOLD\winmake\..=\FW\xHarbourOLD\winmake\.. HB_INSTALL= )
+++ Entry point: toAbsPath('E:\FW\xHarbourOLD\winmake\..'
'HB_INSTALL')(2)
:toAbsPath(E:\FW\xHarbourOLD\winmake\.. HB_INSTALL)
:isValidVarName(HB_INSTALL)
:value(E:\FW\xHarbourOLD\winmake\.. _varOrRelPath)
:isValidVarName(_varOrRelPath)
_varOrRelPath = E:\FW\xHarbourOLD\winmake\..
_absPath = E:\FW\xHarbourOLD
--- Exit point: toAbsPath E:\FW\xHarbourOLD\winmake\.. HB_INSTALL
*** Ret: 0 0
HB_INSTALL=E:\FW\xHarbourOLD
*** Raw Arguments: (isPathInPath HB_BIN_INSTALL _inPath)
*** Raw Arguments: [isPathInPath] [HB_BIN_INSTALL] [_inPath] [] []
*** Parsed [2] :isPathInPath( HB_BIN_INSTALL=E:\FW\xHarbourOLD\bin
_inPath= )
+++ Entry point: isPathInPath('HB_BIN_INSTALL' '_inPath')(2)
:isPathInPath(HB_BIN_INSTALL _inPath)
:isValidVarName(_inPath)
:value(HB_BIN_INSTALL pathToFind)
:isValidVarName(pathToFind)
Comparing: 'C:\Windows\system32' with 'E:\FW\xHarbourOLD\bin'
Comparing: 'C:\Windows' with 'E:\FW\xHarbourOLD\bin'
Comparing: 'C:\Windows\System32\Wbem' with 'E:\FW\xHarbourOLD\bin'
Comparing: 'C:\Windows\System32\WindowsPowerShell\v1.0\' with
'E:\FW\xHarbourOLD\bin'
Comparing: 'C:\Windows\System32\OpenSSH\' with 'E:\FW\xHarbourOLD\bin'
Comparing: 'C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common' with
'E:\FW\xHarbourOLD\bin'
Comparing: 'E:\UTL' with 'E:\FW\xHarbourOLD\bin'
Comparing: '' with 'E:\FW\xHarbourOLD\bin'
Comparing: '%SystemRoot%\system32' with 'E:\FW\xHarbourOLD\bin'
Comparing: '%SystemRoot%' with 'E:\FW\xHarbourOLD\bin'
Comparing: '%SystemRoot%\System32\Wbem' with 'E:\FW\xHarbourOLD\bin'
Comparing: '%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\' with
'E:\FW\xHarbourOLD\bin'
Comparing: '%SYSTEMROOT%\System32\OpenSSH\' with 'E:\FW\xHarbourOLD\bin'
Comparing: 'C:\Users\Enrico
MariaGiordano\AppData\Local\Microsoft\WindowsApps' with
'E:\FW\xHarbourOLD\bin'
Comparing: '' with 'E:\FW\xHarbourOLD\bin'
Path 'E:\FW\xHarbourOLD\bin' NOT found in
'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program
Files (x86)\NVIDIA
Corporation\PhysX\Common;E:\UTL;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Users\Enrico
MariaGiordano\AppData\Local\Microsoft\WindowsApps;'
--- Exit point: isPathInPath HB_BIN_INSTALL _inPath
*** Ret: 0 0
Adding xHarbour's bin directory 'E:\FW\xHarbourOLD\bin' to
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program
Files (x86)\NVIDIA
Corporation\PhysX\Common;E:\UTL;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Users\Enrico
MariaGiordano\AppData\Local\Microsoft\WindowsApps;
Checking if 'bcc32c' under 'e:\fw\temp\bcc64\bcc' is in the path
*** Raw Arguments: (rootOfAppInPath CC _wherePath)
*** Raw Arguments: [rootOfAppInPath] [CC] [_wherePath] [] []
*** Parsed [2] :rootOfAppInPath( CC=bcc32c _wherePath= )
+++ Entry point: rootOfAppInPath('CC' '_wherePath')(2)
:rootOfAppInPath(CC _wherePath)
:isValidVarName(_wherePath)
:value(CC app)
:isValidVarName(app)
--- Exit point: rootOfAppInPath CC _wherePath
*** Ret: 1 1
_wherePath=
*** ended[1] [E:\FW\xHarbourOLD\winmake\found_cc.bat]
*** started(bcc32 Borland C/C++)
[E:\FW\xHarbourOLD\winmake\found_cc.bat]
*** Raw Arguments: (isPathInPath HB_BIN_INSTALL _inPath)
*** Raw Arguments: [isPathInPath] [HB_BIN_INSTALL] [_inPath] [] []
*** Parsed [2] :isPathInPath( HB_BIN_INSTALL=E:\FW\xHarbourOLD\bin
_inPath=false )
+++ Entry point: isPathInPath('HB_BIN_INSTALL' '_inPath')(2)
:isPathInPath(HB_BIN_INSTALL _inPath)
:isValidVarName(_inPath)
:value(HB_BIN_INSTALL pathToFind)
:isValidVarName(pathToFind)
Comparing: 'E:\FW\xHarbourOLD\bin' with 'E:\FW\xHarbourOLD\bin'
Path 'E:\FW\xHarbourOLD\bin' found in
'E:\FW\xHarbourOLD\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program
Files (x86)\NVIDIA
Corporation\PhysX\Common;E:\UTL;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Users\Enrico
MariaGiordano\AppData\Local\Microsoft\WindowsApps;'
--- Exit point: isPathInPath HB_BIN_INSTALL _inPath
*** Ret: 0 0
Checking if 'bcc32' under 'e:\fw\temp\bcc64\bcc' is in the path
*** Raw Arguments: (rootOfAppInPath CC _wherePath)
*** Raw Arguments: [rootOfAppInPath] [CC] [_wherePath] [] []
*** Parsed [2] :rootOfAppInPath( CC=bcc32 _wherePath= )
+++ Entry point: rootOfAppInPath('CC' '_wherePath')(2)
:rootOfAppInPath(CC _wherePath)
:isValidVarName(_wherePath)
:value(CC app)
:isValidVarName(app)
--- Exit point: rootOfAppInPath CC _wherePath
*** Ret: 1 1
_wherePath=
*** ended[1] [E:\FW\xHarbourOLD\winmake\found_cc.bat]
*** started(bcc64 Borland C/C++)
[E:\FW\xHarbourOLD\winmake\found_cc.bat]
*** Raw Arguments: (isPathInPath HB_BIN_INSTALL _inPath)
*** Raw Arguments: [isPathInPath] [HB_BIN_INSTALL] [_inPath] [] []
*** Parsed [2] :isPathInPath( HB_BIN_INSTALL=E:\FW\xHarbourOLD\bin
_inPath=true )
+++ Entry point: isPathInPath('HB_BIN_INSTALL' '_inPath')(2)
:isPathInPath(HB_BIN_INSTALL _inPath)
:isValidVarName(_inPath)
:value(HB_BIN_INSTALL pathToFind)
:isValidVarName(pathToFind)
Comparing: 'E:\FW\xHarbourOLD\bin' with 'E:\FW\xHarbourOLD\bin'
Path 'E:\FW\xHarbourOLD\bin' found in
'E:\FW\xHarbourOLD\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program
Files (x86)\NVIDIA
Corporation\PhysX\Common;E:\UTL;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Users\Enrico
MariaGiordano\AppData\Local\Microsoft\WindowsApps;'
--- Exit point: isPathInPath HB_BIN_INSTALL _inPath
*** Ret: 0 0
Checking if 'bcc64' under 'e:\fw\temp\bcc64\bcc' is in the path
*** Raw Arguments: (rootOfAppInPath CC _wherePath)
*** Raw Arguments: [rootOfAppInPath] [CC] [_wherePath] [] []
*** Parsed [2] :rootOfAppInPath( CC=bcc64 _wherePath= )
+++ Entry point: rootOfAppInPath('CC' '_wherePath')(2)
:rootOfAppInPath(CC _wherePath)
:isValidVarName(_wherePath)
:value(CC app)
:isValidVarName(app)
--- Exit point: rootOfAppInPath CC _wherePath
*** Ret: 1 1
_wherePath=
*** ended[1] [E:\FW\xHarbourOLD\winmake\found_cc.bat]
:CHECK_CC_DIR Checking if Borland C/C++ is in 'e:\fw\temp\bcc64\bcc'...
*** END[0] [E:\FW\xHarbourOLD\make_bc.bat]
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Enrico Maria Giordano
2024-01-19 09:33:44 UTC
Permalink
Post by Enrico Maria Giordano
For your convenience xHarbour's bin directory was added to your PATH.
Impossibile trovare l'etichetta batch specificata - SET_CC_CNAME64
 ---------------------------------------
 Make Utility for Borland C/C++
 ---------------------------------------
 Borland C/C++ not found.
 Please install and try again.
Sorry, my fault! It seems to work fine! I'm testing all the compilers now...
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Enrico Maria Giordano
2024-01-19 14:17:12 UTC
Permalink
Post by Enrico Maria Giordano
Sorry, my fault! It seems to work fine! I'm testing all the compilers now...
Sorry, still a problem with BCC64. The build finished without errors or
warnings but the generated libraries have been called *.lib instead of
*.a. Can you fix it, please?
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Ron Pinkas
2024-01-19 15:04:45 UTC
Permalink
Post by Enrico Maria Giordano
Post by Enrico Maria Giordano
Sorry, my fault! It seems to work fine! I'm testing all the compilers now...
Sorry, still a problem with BCC64. The build finished without errors or
warnings but the generated libraries have been called *.lib instead of
*.a. Can you fix it, please?
Do you have HB_ARCH=w64?
Enrico Maria Giordano
2024-01-19 15:22:16 UTC
Permalink
Post by Ron Pinkas
Post by Enrico Maria Giordano
Sorry, still a problem with BCC64. The build finished without errors or
warnings but the generated libraries have been called *.lib instead of
*.a. Can you fix it, please?
Do you have HB_ARCH=w64?
No. Is it required? Why?
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Enrico Maria Giordano
2024-01-19 16:18:39 UTC
Permalink
MGW32: I get tons of warning in the file make_gc.log. What can we do
about them? There are too many to fix. Any ideas? Can we just suppress
them? Or do we have to leave them alone?
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Ron Pinkas
2024-01-19 17:14:21 UTC
Permalink
Post by Enrico Maria Giordano
MGW32: I get tons of warning in the file make_gc.log. What can we do
about them? There are too many to fix. Any ideas? Can we just suppress
them? Or do we have to leave them alone?
I get many warnings with other compilers too - I suggest leaving them
- possibly directing STDERR to a .err file so it won't go to screen and
bother users.
Enrico Maria Giordano
2024-01-19 17:55:26 UTC
Permalink
Post by Ron Pinkas
Post by Enrico Maria Giordano
MGW32: I get tons of warning in the file make_gc.log. What can we do
about them? There are too many to fix. Any ideas? Can we just suppress
them? Or do we have to leave them alone?
I get many warnings with other compilers too - I suggest leaving them
- possibly directing STDERR to a .err file so it won't go to screen and
bother users.
The warnings are already directed to the log files. Ok, I will leave them.
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Ron Pinkas
2024-01-19 17:12:06 UTC
Permalink
Post by Enrico Maria Giordano
Post by Ron Pinkas
Post by Enrico Maria Giordano
Sorry, still a problem with BCC64. The build finished without errors or
warnings but the generated libraries have been called *.lib instead of
*.a. Can you fix it, please?
Do you have HB_ARCH=w64?
No. Is it required? Why?
I mean, after running find_bc or make_bc what does HB_ARCH have?

SET CC_DIR=...
MAKE_BC
ECHO %HB_ARCH%

I ask because AFAICT it is handled in makefile.bc when HB_ARCH is w64
Enrico Maria Giordano
2024-01-19 17:53:27 UTC
Permalink
Post by Ron Pinkas
Post by Enrico Maria Giordano
Post by Ron Pinkas
Do you have HB_ARCH=w64?
No. Is it required? Why?
I mean, after running find_bc or make_bc what does HB_ARCH have?
SET CC_DIR=...
MAKE_BC
ECHO %HB_ARCH%
I ask because AFAICT it is handled in makefile.bc when HB_ARCH is w64
I have w64. I just noticed one more problem building DLL:

ilink64 -Le:\fw\temp\bcc64\bcc\lib;e:\fw\temp\bcc64\bcc\lib\psdk
c0x64.o obj\bcc64\dll\mainstd.obj obj\bcc64\dll\hbdoc.obj
obj\bcc64\dll\genasc.obj obj\bcc64\dll\teeasc.obj
obj\bcc64\dll\genhpc.obj obj\bcc64\dll\genhtm.obj
obj\bcc64\dll\genchm.obj obj\bcc64\dll\genng.obj
obj\bcc64\dll\genos2.obj obj\bcc64\dll\genrtf.obj
obj\bcc64\dll\gentrf.obj obj\bcc64\dll\html.obj obj\bcc64\dll\ng.obj
obj\bcc64\dll\os2.obj obj\bcc64\dll\rtf.obj obj\bcc64\dll\troff.obj
obj\bcc64\dll\fclass1.obj obj\bcc64\dll\ffile1.obj
obj\bcc64\dll\ft_funcs.obj
,bin\bcc64\hbdocdll.exe,,lib\bcc64\pdflite.lib bin\bcc64\xharbour.lib
ws2_32.a cw64mt.a import64.a
Turbo Incremental Link64 6.98 Copyright (c) 1997-2023 Embarcadero
Technologies, Inc.
Fatal: Unable to open file 'XHARBOUR.LIB'
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Ron Pinkas
2024-01-19 18:48:38 UTC
Permalink
Post by Enrico Maria Giordano
Post by Ron Pinkas
Post by Enrico Maria Giordano
Post by Ron Pinkas
Do you have HB_ARCH=w64?
No. Is it required? Why?
I mean, after running find_bc or make_bc what does HB_ARCH have?
SET CC_DIR=...
MAKE_BC
ECHO %HB_ARCH%
I ask because AFAICT it is handled in makefile.bc when HB_ARCH is w64
ilink64 -Le:\fw\temp\bcc64\bcc\lib;e:\fw\temp\bcc64\bcc\lib\psdk
c0x64.o obj\bcc64\dll\mainstd.obj obj\bcc64\dll\hbdoc.obj
obj\bcc64\dll\genasc.obj obj\bcc64\dll\teeasc.obj
obj\bcc64\dll\genhpc.obj obj\bcc64\dll\genhtm.obj
obj\bcc64\dll\genchm.obj obj\bcc64\dll\genng.obj
obj\bcc64\dll\genos2.obj obj\bcc64\dll\genrtf.obj
obj\bcc64\dll\gentrf.obj obj\bcc64\dll\html.obj obj\bcc64\dll\ng.obj
obj\bcc64\dll\os2.obj obj\bcc64\dll\rtf.obj obj\bcc64\dll\troff.obj
obj\bcc64\dll\fclass1.obj obj\bcc64\dll\ffile1.obj
obj\bcc64\dll\ft_funcs.obj
,bin\bcc64\hbdocdll.exe,,lib\bcc64\pdflite.lib bin\bcc64\xharbour.lib
ws2_32.a cw64mt.a import64.a
Turbo Incremental Link64 6.98 Copyright (c) 1997-2023 Embarcadero
Technologies, Inc.
Fatal: Unable to open file 'XHARBOUR.LIB'
Enrico, sorry i don't have bcc44 and also to the best of my knowledge these are
issues that should be managed in makefile.bc (not the find_bc.bat). I
will appreciate your help reviewing them yourself if you can.
Enrico Maria Giordano
2024-01-19 20:19:50 UTC
Permalink
Post by Ron Pinkas
Post by Enrico Maria Giordano
Fatal: Unable to open file 'XHARBOUR.LIB'
Enrico, sorry i don't have bcc44 and also to the best of my knowledge these are
issues that should be managed in makefile.bc (not the find_bc.bat). I
will appreciate your help reviewing them yourself if you can.
Ok, I will study it tomorrow morning.
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Enrico Maria Giordano
2024-01-20 09:08:52 UTC
Permalink
Post by Ron Pinkas
Post by Enrico Maria Giordano
Post by Ron Pinkas
Post by Enrico Maria Giordano
Sorry, still a problem with BCC64. The build finished without errors or
warnings but the generated libraries have been called *.lib instead of
*.a. Can you fix it, please?
Do you have HB_ARCH=w64?
No. Is it required? Why?
I mean, after running find_bc or make_bc what does HB_ARCH have?
SET CC_DIR=...
MAKE_BC
ECHO %HB_ARCH%
I ask because AFAICT it is handled in makefile.bc when HB_ARCH is w64
I think we have to fix this first. As I already wrote, after make_bc_bat
I have w64, as it would be. Do you want me to try fixing it?
--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Enrico Maria Giordano
2024-01-20 09:11:29 UTC
Permalink
Post by Enrico Maria Giordano
I think we have to fix this first. As I already wrote, after make_bc_bat
I have w64, as it would be.
"as it SHOULD be", sorry for my English... :-(
--
Enrico Maria Giordano

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