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

README.md: xstatic links 404? #33

Closed
ibara opened this issue Mar 5, 2021 · 7 comments
Closed

README.md: xstatic links 404? #33

ibara opened this issue Mar 5, 2021 · 7 comments

Comments

@ibara
Copy link
Contributor

ibara commented Mar 5, 2021

Hi Gavin --

The xstatic links (to https://pkg.musl.cc/bc/) in README.md lead to a 404. Admittedly, I don't know what those links should be pointing to.

@gavinhoward
Copy link
Owner

That link was maintained voluntarily by a friend of mine. He seems to have lost interest in maintaining the builds, and I am not going to bother him about it, so I removed those parts from the README.

Thank you for letting me know!

Windows builds will have to wait until I manage to build a build system to replace CMake. :P Until then, building on Windows doesn't seem like a good use of my time.

Unless...do you need Windows builds?

@drjohnnyfever1
Copy link

I'm probably the one guy who has used it on Windows. Its far from a must but it is a nice convenience having my bc I use on FreeBSD available when I'm on Windows. I can try mucking around with the Windows build if you think it's useful for anyone else.

@gavinhoward
Copy link
Owner

@drjohnnyfever1 getting my bc to work on Windows can be either easy or really hard. It depends on what you want in it.

If you want history and being able to respond to SIGINT (rather than just exit), then it will be hard. Otherwise, it might be fairly easy.

If you don't need those two things (which are in FreeBSD's version), then maybe I can get my Windows drive to boot and get bc to build under Windows.

@ibara
Copy link
Contributor Author

ibara commented Mar 5, 2021

I don't need a Windows binary, no. Was just curious so I clicked the link.

@ibara
Copy link
Contributor Author

ibara commented Mar 6, 2021

I don't think it's so difficult. We can just use some compat shims :)
Attached is bc-3.3.3 built on Windows x64 with Cygwin. Unzip and run.
By the way, Cygwin inexplicably needs #include <sys/socket.h> in src/history.c to build history correctly. But then history is correctly detected as working by configure and builds and runs correctly. I've done that for these binaries.

bc-3.3.3.zip

@gavinhoward
Copy link
Owner

@ibara that's good to know about history. However, my hesitation is that, if I support building on Windows, I want it to actually work, and last time I tried, Cygwin had interesting behavior with POSIX signals. So I really need to get my Windows partition bootable and do some tests.

@gavinhoward
Copy link
Owner

I'm going to close this one. I may come back to making bc work on Windows later.

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

No branches or pull requests

3 participants