Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Get rid of dependencies from libraries 6 years 2 months ago #12764

  • Yaroslav Romanchenko
  • Yaroslav Romanchenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Hi, guys

I have following problem.
My CGI application compiles well :) But, all further things not very well on all versions of CT next to 5.5.
When I compile it to i386-linux target on CT 5.6 and higher it didn't work on Debian server ("500 Internal Server Error" occurs). Compiled on CT 5.5 it works well!

I think that it's because of dependencies from linux libraries! Because, on CT 5.5 it compiles well with empty -Fl setting, on CT 5.6 and higher doesn't. Only -Fl=$(CTDir)\binLibraries\$(TargetCPU)-$(TargetOS) helps!
Comparing corresponding map files confirms that there is no linux specific dependencies on CT 5.5, but, a lot of them on on CT 5.6 and higher.

The question is, how to get rid of such dependencies??? How to detect which units in uses sections leads to that dependencies?

Corresponding map files are attached.

Sorry for late reaction (so many versions follow after CT 5.5...) ;)

Best Regards

File Attachment:

File Name: CMSmaps.zip
File Size:730 KB
Attachments:

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

Get rid of dependencies from libraries 6 years 2 months ago #12765

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
Thanks Sir
Please some questions:
-you cross-build your CGI application for i386-linux target?
-from what Host OS ?
-your test Debian Server OS version ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Get rid of dependencies from libraries 6 years 2 months ago #12766

  • Yaroslav Romanchenko
  • Yaroslav Romanchenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Good day Sir

- Yes, I cross-compile my CGI application for i386-linux target.
- Host OS is Win 7 x64. I use latest Typhon32 (v. 6.6, but tried also almost all from 5.6 and higher).
- Do not know exactly, which version of Debian, but, hosting provider tells that they update OS every half year. One definitely known, that Debian x64

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

Get rid of dependencies from libraries 6 years 2 months ago #12767

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
If your app target is i386-linux and
test PC is Debian x64 (x86_64-linux)
you must cross-build your app for x86_64-linux

Debian x86_64-linux can run i386-linux app
only if you make some changes to OS packages,
and this it's NOT possible at "hosting provider" level.
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Yaroslav Romanchenko

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

Last edit: by Sternas Stefanos.

Get rid of dependencies from libraries 6 years 2 months ago #12769

  • Yaroslav Romanchenko
  • Yaroslav Romanchenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
OMG, I didn't mind that it's MUST to build 64-bit apps for 64-bit Linux. And 32-bit apps previously did work (built with CT 5.5).

Thank you, Sir Sternas
Now it works! It's just wonderfull! :woohoo:

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

Last edit: by Yaroslav Romanchenko.

Get rid of dependencies from libraries 6 years 2 months ago #12770

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
Thanks Sir
have fun
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Yaroslav Romanchenko

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

  • Page:
  • 1