Skip to content

Can't build a static executable #46

Open

Description

@secinthenet

Static executables are great for easy deployment in air gapped machines, like a laptop running Tails, so I think they should be supported, if not the default.
I tried to build using something like CFLAGS="-static" CXXFLAGS="-static" LDFLAGS="-static" ./build.sh, but it fails because libgcc_s.a doesn't exist, only libgcc_s.so.

Activity

  1. wolfmcnally commented on Mar 5, 2021

    @wolfmcnally
    Collaborator

    @gorazdko I believe this has to do with Linux builds, would you comment on this?

  2. wolfmcnally commented on Apr 17, 2021

    @wolfmcnally
    Collaborator

    @secinthenet Would you care to submit a PR?

  3. secinthenet commented on Apr 17, 2021

    @secinthenet
    ContributorAuthor

    I don't know how to fix this, I'll need to dig into this

  4. moved this to 2023 Q2 Priority in High Level Roadmapon Apr 10, 2023
  5. moved this from 2023 Q3 Priority to 2024 Q4 Priority in High Level Roadmapon Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buildIssues with the buildenhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions