Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Error in cross build 2 years 10 months ago #16630

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

Error in cross build 2 years 10 months ago #16631

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1130
  • Thank you received: 170
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

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

Last edit: by Matis A..

Error in cross build 2 years 10 months ago #16632

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

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

Last edit: by Forsteri.

Error in cross build 2 years 10 months ago #16633

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1130
  • Thank you received: 170
Sorry,
but we don't know nothing for commercial components SecureBridge's sFTP.
Please post to SecureBridge components support.
PilotLogic Core Programmer

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

Last edit: by Matis A..

Error in cross build 2 years 10 months ago #16634

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

Error in cross build 2 years 10 months ago #16636

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

Error in cross build 2 years 10 months ago #16637

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1130
  • Thank you received: 170
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.

Error in cross build 2 years 10 months ago #16639

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

  • Page:
  • 1