× CodeTyphon Cross-Build Development, discussions and problems

Question Error in cross build

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 4 weeks ago #16630 by Forsteri
Error in cross build was created by Forsteri
Hello.

This time, I bought SecureBridge, converted the Lazarus component to a Typhon component, and installed it.

I was able to install and compile Typhon32 and Typhon64 without any problems, and it worked fine.

There is one problem and I will post it.
Combinations under certain conditions will result in an error at run time.
If you call the directory list using the sFTP component, you will get the following status.

Typhon32: Win32 i386-> OK
Typhon32: Win64 x86_64-> OK
Typhon64: Win32 i386-> NG (Floating point overflow)
Typhon64: Win64 x86_64-> OK

I'm basically using Typhon 64, so I just wanted to find out the cause.
It can be said that Typhon32 should be used as the Win32 target, but ...

It's a paid component, so if it's difficult to verify, you can leave it alone.

Thank you.

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

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
4 months 4 weeks ago - 4 months 4 weeks ago #16631 by Matis A.
Replied by Matis A. on topic Error in cross build
The first question is which CT version do you use ?

We test LAB CT ver 7.70
CrossBuild from Win64 to Win32 without problem.


 


Cross-wi64-win32.7z it's the test project

But, you can find some info here

PilotLogic Core Programmer
Last edit: 4 months 4 weeks ago by Matis A..

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

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 3 weeks ago - 4 months 3 weeks ago #16632 by Forsteri
Replied by Forsteri on topic Error in cross build
Hello.

Use CT7.6.

The explanation was insufficient.
Compiling and running the SecureBridge sFTP component on a Win32 target with Typhon64 results in an error.
Other patterns will not result in an error.

Of course, if you don't use SecureBridge's sFTP component, there's nothing wrong with crossbuilding.
Last edit: 4 months 3 weeks ago by Forsteri.

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

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
4 months 3 weeks ago - 4 months 3 weeks ago #16633 by Matis A.
Replied by Matis A. on topic Error in cross build
Sorry,
but we don't know nothing for commercial components SecureBridge's sFTP.
Please post to SecureBridge components support.

PilotLogic Core Programmer
Last edit: 4 months 3 weeks ago by Matis A..

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

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 3 weeks ago #16634 by Forsteri
Replied by Forsteri on topic Error in cross build
thank you.
I heard that it worked fine with Win32 of Lazarus 2.2.0 + Cross_Build.
Only Lazarus is supported, but I'm not sure if it's okay to ask about CT, but I'll post it once.

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

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 3 weeks ago #16636 by Forsteri
Replied by Forsteri on topic Error in cross build
Hello.

After all, I couldn't get an answer because it was out of support.
When compiling Win32, I will use Typhon32.

Kind regards

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

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
4 months 3 weeks ago #16637 by Matis A.
Replied by Matis A. on topic Error in cross build
1) The problem with CrossBuild from Win64 to Win32 for project that use 80 bit 80x87 FPU
it's problem of MS Windows.

You must use the SSE CPU instruction set, for floating point math OR
not use 80 bit 80x87 FPU in your projects.

2) We don't know what SecureBridge components are, so what to suggest...

3) Use Typhon32 for Win32 projects, if that projects use 80 bit 80x87 FPU.

And sorry for the delay... 

 

PilotLogic Core Programmer

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

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 3 weeks ago #16639 by Forsteri
Replied by Forsteri on topic Error in cross build
Hello.

thank you for your politeness.
The advice was very easy to understand.
thank you very much.

Kind regards

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