Hi Sternas,
I found the ToolChain for the Win to MacOS on the server. So, I downloaded and tried to compile. The first step finished with success. I have all the x86_64(i386)-darwin-*.exe files. But the second and third steps finish with error (see below). The error occurred when x86_64(i386)-darwin-clang.exe was not found. It seems it is not related to the system libraries. These are needed for linking when compiling the executable. How can I solve this problem?
Thanks for the help.
With best regards
Premek
CT6.4, Win10
[INFO]: !!! Cross compiler Executable ppcross386.exe for win32, Build OK. !!!
----------------------------------------------------------------
Stage 2: Build All Units and Packages
----------------------------------------------------------------
C:/codetyphon/fpc/fpc32/bin/i386-win32/make -C rtl all
make[1]: Entering directory 'C:/codetyphon/fpcsrc/rtl'
C:/codetyphon/fpc/fpc32/bin/i386-win32/make -C darwin all
make[2]: Entering directory 'C:/codetyphon/fpcsrc/rtl/darwin'
C:/codetyphon/fpc/fpc32/bin/i386-win32/gmkdir.exe -p C:/codetyphon/fpcsrc/rtl/units/i386-darwin
ppcross386.exe -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -XPi386-darwin- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386 -FE. -FUC:/codetyphon/fpcsrc/rtl/units/i386-darwin -di386 -dRELEASE -Us -Sg ../bsd/system
ppcross386.exe -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -XPi386-darwin- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386 -FE. -FUC:/codetyphon/fpcsrc/rtl/units/i386-darwin -di386 -dRELEASE -Us -Sg ../bsd/system
system.pp(387) Error: Assembler i386-darwin-clang.exe not found, switching to external assembling
system.pp(387) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [Makefile:2863: system.ppu] Error 1
make[2]: Leaving directory 'C:/codetyphon/fpcsrc/rtl/darwin'
make[1]: *** [Makefile:2511: darwin_all] Error 2
make[1]: Leaving directory 'C:/codetyphon/fpcsrc/rtl'
make: *** [Makefile:2606: rtl] Error 2
----------------------------------------------------------------
Stage 3: Install All Units and Packages
----------------------------------------------------------------
C:/codetyphon/fpc/fpc32/bin/i386-win32/make -C rtl install
make[1]: Entering directory 'C:/codetyphon/fpcsrc/rtl'
C:/codetyphon/fpc/fpc32/bin/i386-win32/make -C darwin all
make[2]: Entering directory 'C:/codetyphon/fpcsrc/rtl/darwin'
ppcross386.exe -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -XPi386-darwin- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386 -FE. -FUC:/codetyphon/fpcsrc/rtl/units/i386-darwin -di386 -dRELEASE -Us -Sg ../bsd/system
ppcross386.exe -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -XPi386-darwin- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386 -FE. -FUC:/codetyphon/fpcsrc/rtl/units/i386-darwin -di386 -dRELEASE -Us -Sg ../bsd/system
system.pp(387) Error: Assembler i386-darwin-clang.exe not found, switching to external assembling
system.pp(387) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [Makefile:2863: system.ppu] Error 1
make[2]: Leaving directory 'C:/codetyphon/fpcsrc/rtl/darwin'
make[1]: *** [Makefile:2511: darwin_all] Error 2
make[1]: Leaving directory 'C:/codetyphon/fpcsrc/rtl'
make: *** [Makefile:2580: rtl_install] Error 2