Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide static build for windows-arm64, linux-arm64, darwin-x64 #243

Open
edwinjhlee opened this issue Oct 7, 2024 · 11 comments
Open
Labels

Comments

@edwinjhlee
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Please provide static build for windows-arm64, linux-arm64, darwin-x86

Describe the solution you'd like

Additional context

I am developing x-cmd. It would be nice to have 'x tcping' so user can use tcping without installation in (mac, win, linux) x (arm64, x86) ~

Later, x-cmd will support (openbsd, freebsd, netbsd) ~

Thank you.

@pouriyajamshidi
Copy link
Owner

Hi,

Sure, will include those as well.

@cyqsimon
Copy link
Contributor

Hello there,

In #245 I'm rewriting the Makefile, which will make it convenient to add new targets. So I've been asked to accommodate your requests.

Just want to double check with you though, by darwin-x86, are you absolutely sure you mean 32-bit Intel MacOS? As far as I can tell, these Macs were only made for a very brief period of time back in 2006 or something. I am hesitant to add support for such an old and obscure target without a very compelling reason.

@edwinjhlee
Copy link
Contributor Author

edwinjhlee commented Oct 12, 2024

Hello there,

In #245 I'm rewriting the Makefile, which will make it convenient to add new targets. So I've been asked to accommodate your requests.

Just want to double check with you though, by darwin-x86, are you absolutely sure you mean 32-bit Intel MacOS? As far as I can tell, these Macs were only made for a very brief period of time back in 2006 or something. I am hesitant to add support for such an old and obscure target without a very compelling reason.

Hi ~ Thank you !
No, we just need arm64 and amd64 for macOs.

image

My apologies, I made a mistake in my description. I will correct the issue title immediately.

@edwinjhlee edwinjhlee changed the title Please provide static build for windows-arm64, linux-arm64, darwin-x86 Please provide static build for windows-arm64, linux-arm64, darwin-x64 Oct 12, 2024
@cyqsimon
Copy link
Contributor

Yep no worries!

@pouriyajamshidi
Copy link
Owner

Thank you both @cyqsimon and @edwinjhlee.

The requested binaries are now uploaded in https://github.com/pouriyajamshidi/tcping/releases/tag/v2.6.0

@pouriyajamshidi pouriyajamshidi moved this from Todo to Done in TCPING Oct 12, 2024
@edwinjhlee
Copy link
Contributor Author

edwinjhlee commented Oct 12, 2024

Can you provide more build for other system/arch ?

Like this: https://github.com/junegunn/fzf/releases/tag/v0.55.0

Currently, x-cmd pkg is not providing tools to openbsd/freebsd/netbsd ~ But x-cmd script code can run on bsd series OS ~~ In the near future we would like to introduce pkgs for *bsd ~

I assume that tcping can run across all mainstream platform (*bsd, linux, win, mac) x (arm64, x64) ~

@edwinjhlee
Copy link
Contributor Author

I am novice user in bsd. I have set up some bsd vm ( freebsd, openbsd ). I can help testing tcping on bsd ~

@edwinjhlee
Copy link
Contributor Author

image

I found these bsd artifcats and darwin-x64 and win-amd64 are already created in the Makefile. Will they be uploaded ? @pouriyajamshidi

@pouriyajamshidi
Copy link
Owner

@edwinjhlee yes, I will put them up. But not all of them just yet, because I need to change some details in the README file first since this will mess with the way download links are provided.

@edwinjhlee
Copy link
Contributor Author

edwinjhlee commented Nov 5, 2024

Hi, @pouriyajamshidi

We add tcping in x-cmd pkg: https://x-cmd.com/pkg/tcping

image

While developing a shell wrapper to visualize ping output, I discovered I could also perform TCP pings using curl. So I wrote tping module in x-cmd. The introduction and code is here: https://x-cmd.com/mod/tping

However, currently this approach has limitations. Out of performance consideration, tcping is the best option.

I'm curious if there are any plans/roadmap to implement visualization features directly within tcping. I'm hesitant to introduce visualization through a shell wrapper ( just like what we have achieved in ping module -- https://www.x-cmd.com/mod/ping ), as this might conflict with future tcping development.

@pouriyajamshidi
Copy link
Owner

Hi @edwinjhlee

Thanks for adding tcping there! I will try to remember to add it in the README file as well (PRs are welcome :D).

I had a look at tping as well, looks pretty fancy and cool.

In terms of adding visualization to tcping, maybe some time down the line but I rather address the open issues first.

sadly, tcping and my other open source projects get a fraction of my free time (weekends, evenings, etc) and these days I get less of those. So, gotta be very smart how and where I spend them on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants