Source Code Creating your .SO Linux 64bits library in Delphi environment

emailx45

Staff member
Premium
Joined
May 5, 2008
Messages
2,477
Reaction score
2,211
Location
here and there
Creating your .SO Linux 64bits library in Delphi environment
[SHOWTOGROUPS=4,20]
If you need create yourself .SO library, try this:
  • Create a new project to Library DLL (MSWindows) in your IDE
  • Add the Linux 64bits platform to your project
  • code your unit to Linux!!! - if dont know Linux environment, hum.... you need study it!!! :(
  • Build all
NOTE: to compile projects in Linux 64bits (or other platform non-MSWindows), you need create a connection definition for this platform in your Project Manager, then:
  • have a Linux 64bits installed in a VM for example if you dont have a new pc with this O.S.
  • with 2 pcs (MSWindows and Linux) in the same network do the connection profile in your IDE
  • the IDE will go import the SDK Linux to your MSWindows pc
  • later, you can add new Linux 64bits platform to your project
  • if need, you can have install the FMXLinux in your RAD.
  • For more info, use your HELP SYSTEM to know how to access Linux platform in your IDE "Linux Application Development"
Pay attention on items:
  • 1 Prerequisites
  • 2 Preparing Your Linux Development Environment
    • 2.1 Installing Linux SDK
    • 2.2 Preparing Your Linux Machine
    • 2.3 Creating a Connection Profile
    • 2.4 Adding the Installed SDK to RAD Studio
    • 2.5 Running PAServer on Linux machine
  • 3 Developing Your Application
Last note:
  • you do not need, nor should you, enter binarys in your application.
  • You can and should use late or dynamic linking whenever possible. So, as does MSWindows and other operating systems.
  • This way, you can, in the future, just update the desired library, and perhaps your own application.

View attachment 1349

hug

[/SHOWTOGROUPS]
 
Top