Skip to content

fyne package -ldflags "-w -s -H=windowsgui" doesn't reduce executable size #5161

Answered by Jacalz
tsc-pygy asked this question in Q&A
Discussion options

You must be logged in to vote

Coming from the fact that you are using Linux, I would guess that the Windows specific linker option -H=windowsgui causes the compiler to abort because it isn't supported on Linux. Are you sure that it actually built a new binary?

PS: Please use Discussions for questions. The issue tracker is for bugs and feature requests.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tsc-pygy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
unverified A bug that has been reported but not verified
3 participants
Converted from issue

This discussion was converted from issue #5160 on September 25, 2024 09:15.