- Posts: 110
- Thank you received: 0
×
CodeTyphon Cross-Build Development, discussions and problems
Question CrossBuild Win32-MacOS
- Md. Shariful Alam Khan
- Topic Author
- Offline
- Junior Member
-
Less
More
4 years 3 months ago #11656
by Md. Shariful Alam Khan
CrossBuild Win32-MacOS was created by Md. Shariful Alam Khan
Can any one please guide me step by step for CrossBuild Win32->MacOS(Sierra, High Sierra)?
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
4 years 3 months ago - 4 years 3 months ago #11657
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic CrossBuild Win32-MacOS
Sir
We have problem with MacOS and Solaris OS as crossbuild targets.
We don't provide "System Libraries" for these OSes,
it's OS license subject
If you find "System Libraries" for MacOS (and Solaris OS)
the cross build procedure is the same like any other crossbuild target
PS: Windows OS as crossbuild target from Unix Host don't need "System Libraries".
We have problem with MacOS and Solaris OS as crossbuild targets.
We don't provide "System Libraries" for these OSes,
it's OS license subject
If you find "System Libraries" for MacOS (and Solaris OS)
the cross build procedure is the same like any other crossbuild target
PS: Windows OS as crossbuild target from Unix Host don't need "System Libraries".
PilotLogic Architect and Core Programmer
Last edit: 4 years 3 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- Premysl Beran
- Offline
- Junior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 years 10 months ago #12681
by Premysl Beran
Replied by Premysl Beran on topic CrossBuild Win32-MacOS
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
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
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
3 years 10 months ago #12683
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic CrossBuild Win32-MacOS
1) i386-darwin-clang.exe don't exits in your OS Libraries
you must find this file.
2) My suggestion is to try and LAB CT 6.6, has better MacOS support
you must find this file.
2) My suggestion is to try and LAB CT 6.6, has better MacOS support
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- Premysl Beran
- Offline
- Junior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 years 10 months ago #12685
by Premysl Beran
Replied by Premysl Beran on topic CrossBuild Win32-MacOS
1) I suppose that the file "i386-darwin-clang.exe" should be created during the first stage of CrossBuild ToolChain. Or it is a part of the windows system? It should have the *.exe extension, so it is not related with MacOS libraries. I searched for it in the whole Windows system disk and I didn't find it.
2) I just tried it with CT 6560 and I've got the same problem. Not able to cross-build this ToolChain.
2) I just tried it with CT 6560 and I've got the same problem. Not able to cross-build this ToolChain.
Please Log in or Create an account to join the conversation.