× CodeTyphon Cross-Build Development, discussions and problems

Question Win64 to linux x86_64 crossbuild

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #8040 by Md. Shariful Alam Khan
Win64 to linux x86_64 crossbuild was created by Md. Shariful Alam Khan
I tried to crossbuild win64 to linux x86_64 crossbuild. Below what I receive:
make[1]: Leaving directory 'c:/codetyphon/fpcsrc/installer'
C:/codetyphon/fpc/fpc64/bin/x86_64-win64/rm.exe -f build-stamp.*
C:/codetyphon/fpc/fpc64/bin/x86_64-win64/rm.exe -f base.build-stamp.*
Could Not Find C:\codetyphon\fpcsrc\compiler\*.exe
Could Not Find C:\codetyphon\fpcsrc\compiler\utils\*.exe
Could Not Find c:\codetyphon\fpcsrc\utils\*.exe

Stage 5: Copy Files and Units

A subdirectory or file ..\..\fpc\fpc64 already exists.
File not found - *.*
0 File(s) copied

???????????????????????????????????????????????????????????
[ERROR]: win64 Cross Element for x86_64-linux Param:xxxx NOT Exists
sorry, Cross Build procedure STOP
???????????????????????????????????????????????????????????

What I am missing and how to resolve this? Please help.

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #8047 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
No no here to answer. I have tried in several ways with same result. I am in Windows 10 with CT 5.4. Tried with Admin privilege which gives same result.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 3 months ago - 6 years 3 months ago #8048 by Sternas Stefanos
Replied by Sternas Stefanos on topic Win64 to linux x86_64 crossbuild
Please Sir
try and LAB CT 5.5 Revision 005431 (RC1)

PilotLogic Architect and Core Programmer
Last edit: 6 years 3 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #8051 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
Same issue after updating to CT 5.5. Can you please tell me step by step how to cross build? This is what I did:
1. CrossBuild->Download Libraries->X86_64-linux
2. I have 16 Toolchains including win64-X86_64-linux
3. Have checked Use Toolchains Build Engine (A)
4. Tried to crossbuild FPC64->FPC Cross element x86_64-linux
what am I missing?

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago #8081 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
Sorry to say yet no response.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 2 months ago #8084 by Sternas Stefanos
Replied by Sternas Stefanos on topic Win64 to linux x86_64 crossbuild
Sir
-Download Toolchain win64-x86_64-linux.7z
-Build FPC64->FPC Cross element x86_64-linux
or
-Download Toolchain win32-x86_64-linux.7z
-Build FPC32>FPC Cross element x86_64-linux

Please zip and attach to a post the CTCenter Building log info

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago #8085 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
Please see attached error.

File Attachment:

File Name: error_log.txt
File Size:2,641 KB
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 2 months ago - 6 years 2 months ago #8086 by Sternas Stefanos
Replied by Sternas Stefanos on topic Win64 to linux x86_64 crossbuild
Sir
it's freepascal problem,
my suggestion is to use FPC32 and Typhon 32

PilotLogic Architect and Core Programmer
Last edit: 6 years 2 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago #8088 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
It worked with FPC32->x86_64-linux. Thanks.

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago - 6 years 2 months ago #8089 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
I tried to crossbuild win32->x86_64-linux for project with Brook embedded server. But failed with attached image. The error message is not clear. Can you please check the image? libdl.so is available there.
Last edit: 6 years 2 months ago by Md. Shariful Alam Khan.

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago #8091 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
Can you please tell what's wrong with my attached image?

Please Log in or Create an account to join the conversation.

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago #8092 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Win64 to linux x86_64 crossbuild
Can you please tell me what's wrong with above image? Error while linking.

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #8196 by mark332
Replied by mark332 on topic Win64 to linux x86_64 crossbuild
Hey, just wanted to tell, that I've got the same problem, when trying to build win64->x86_64 in CTC

@Sternas Stefanos Is there a possibility to fix this ? Or do we have do contact the freepascal-guys regarding to what you said ?

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 2 months ago #8198 by Sternas Stefanos
Replied by Sternas Stefanos on topic Win64 to linux x86_64 crossbuild
We try Sir
but and FreePascal programmers can Solve this problem.

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #8199 by mark332
Replied by mark332 on topic Win64 to linux x86_64 crossbuild
Okay, that's all I needed to know, thank you !

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #10573 by Alex John
Replied by Alex John on topic Win64 to linux x86_64 crossbuild
try and LAB CT 5.5 Revision 005431 (RC1)

Please Log in or Create an account to join the conversation.