Skip to content

How do you compile a standalone executable? #293

@SmartBoy84

Description

@SmartBoy84

Hey,

I've been trying to compile TSSChecker for the last couple of hours for the PI. The compilation went smoothly but depended on dynamic libraries which had to be present for the binary to load.

Yet, the TSSchecker binaries that you package are not dynamic executables.
How did you manage this? Did you compile each library listed as a dependency on the project's page individually then link it statically?
(I took a shortcut by just installing deb's of the libraries I found online 😛 - Do I seriously need to manually compile each library?)

I assume you added the '-static' flag, what did you do to get GCC to statically link the libraries though?
It would be amazing if you could compile this for me (but, if not, then guidance would be just as nice)!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions