Olá!
Olhe aqui, só para vc ver que eu faço uma coisa aqui no meu ambiente, vcs fazem outra coisa fora do script ai no de vcs.
Código: Selecionar todos
C:\dev>ren hb32-code hb32-code-ok
C:\dev>git clone --depth=20 https://github.com/harbour/core.git hb32-code
Cloning into 'hb32-code'...
remote: Enumerating objects: 4270, done.
remote: Counting objects: 100% (4270/4270), done.
remote: Compressing objects: 100% (3887/3887), done.
remote: Total 4270 (delta 1194), reused 1158 (delta 241), pack-reused 0
Receiving objects: 100% (4270/4270), 16.41 MiB | 1.88 MiB/s, done.
Resolving deltas: 100% (1194/1194), done.
Updating files: 100% (3794/3794), done.
C:\dev>cd hb32-code
C:\dev\hb32-code>win-make.exe
! Building Harbour 3.2.0dev from source - https://harbour.github.io
! MAKE: win-make.exe 4.1 sh.exe
! HB_INSTALL_PREFIX: c:\hb32
! HB_HOST_PLAT: win (x86_64) HB_SHELL: nt
! HB_PLATFORM: win (x86_64) (auto-detected)
! HB_COMPILER: mingw64 (auto-detected: C:/msys64/ucrt64/bin/)
! Component: 'zlib' found in C:/dev/hb32-code/src/3rd/zlib (local)
! Component: 'pcre' found in C:/dev/hb32-code/src/3rd/pcre (local)
! Component: 'gpm' not supported on win platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not found. Configure with HB_WITH_CURSES.
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on win platform
! GIT_REVISION: 1c70367
win-make.exe[1]: Nothing to be done for 'all'.
win-make.exe[1]: Nothing to be done for 'all'.
! 'hbdossrl' library skipped (platform or compiler not supported)
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opng.o -c ../../../png.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngerror.o -c ../../../pngerror.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngget.o -c ../../../pngget.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngmem.o -c ../../../pngmem.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngpread.o -c ../../../pngpread.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngread.o -c ../../../pngread.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngrio.o -c ../../../pngrio.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngrtran.o -c ../../../pngrtran.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngrutil.o -c ../../../pngrutil.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngset.o -c ../../../pngset.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngtrans.o -c ../../../pngtrans.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngwio.o -c ../../../pngwio.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngwrite.o -c ../../../pngwrite.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngwtran.o -c ../../../pngwtran.c
gcc -I. -I../../../../../../include -Wmissing-braces -Wreturn-type -Wformat -Wimplicit-int -Wimplicit-function-declaration -O3 -D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -IC:/dev/hb32-code/src/3rd/zlib -DPNG_NO_STDIO -DPNG_ARM_NEON_OPT=0 -opngwutil.o -c ../../../pngwutil.c
Tá vendo que não dá erro ?
Eu realmente não sei o que vc fez diferente para dar o erro ai.
Eu não setei absolutamente NADA!!!!
Só clonei o Harbour e compilei os fontes dele.
OLHE A PASTA DO GCC QUE ELE PEGOU:
HB_COMPILER: mingw64 (auto-detected: C:/msys64/ucrt64/bin/)
Saudações,
Itamar M. Lins Jr.