Building Harbour 3.4 for BCC outside MSYS
Posted: Sat Nov 25, 2017 12:47 pm
Hi All:
As we all know, Harbour developers are killing BCC support next year. Furthermore, Harbour 3.4, the superset of of original Harbour, does not provide tools to build the compiler without MSYS. Personally, I hate to use MSYS for Harbour creation.
Those, particularly BCC users, who wish to try to build Harbour 3.4, I have made simple tools to create it without MSYS.
Followings are steps how to build Harbour 3.4 without MSYS:
1. Download/clone the latest source code from https://github.com/vszakats/harbour-core.git
Copy the whole folders/files onto a working folder
2. Download patches for Borland compiler. This is required because developers no longer support Borland compilers.
Patches are very minimal, no functionality is affected. You may inspect the *.diff files on patches folders.
Patches are available at: http://www.mediafire.com/file/6573m6tdg ... atches.zip
Unzip the patches into working folder, overwrite is required
3. Make sure GIT.EXE is in your environment path. GIT is required to create version control file -> include\_repover.txt
4. Inspect/edit the content of make_bc.bat and make_bc64.bat as well to make sure that the the folder directories envars
are existent on machine
5. For 32-bit, at command prompt, execute: make_bc; you may direct output for log, by issuing: make_bc > bcc73.log
For 64-bit, at command prompt, execute: make_bc64; you direct output for log, by issuing: make_bc64 > bcc7364.log
6. You may find some warnings when building 64-bit version, but that's OK, and they are of 3rd party files
7. To clean the build, issue: make_bc clean for 32-bit, or make_bc64 clean for 64-bit
Have fun!
ps: I just added makefiles for: MSVC, GCC, and MSVC-CLANG
As we all know, Harbour developers are killing BCC support next year. Furthermore, Harbour 3.4, the superset of of original Harbour, does not provide tools to build the compiler without MSYS. Personally, I hate to use MSYS for Harbour creation.
Those, particularly BCC users, who wish to try to build Harbour 3.4, I have made simple tools to create it without MSYS.
Followings are steps how to build Harbour 3.4 without MSYS:
1. Download/clone the latest source code from https://github.com/vszakats/harbour-core.git
Copy the whole folders/files onto a working folder
2. Download patches for Borland compiler. This is required because developers no longer support Borland compilers.
Patches are very minimal, no functionality is affected. You may inspect the *.diff files on patches folders.
Patches are available at: http://www.mediafire.com/file/6573m6tdg ... atches.zip
Unzip the patches into working folder, overwrite is required
3. Make sure GIT.EXE is in your environment path. GIT is required to create version control file -> include\_repover.txt
4. Inspect/edit the content of make_bc.bat and make_bc64.bat as well to make sure that the the folder directories envars
are existent on machine
5. For 32-bit, at command prompt, execute: make_bc; you may direct output for log, by issuing: make_bc > bcc73.log
For 64-bit, at command prompt, execute: make_bc64; you direct output for log, by issuing: make_bc64 > bcc7364.log
6. You may find some warnings when building 64-bit version, but that's OK, and they are of 3rd party files
7. To clean the build, issue: make_bc clean for 32-bit, or make_bc64 clean for 64-bit
Have fun!
ps: I just added makefiles for: MSVC, GCC, and MSVC-CLANG