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

Has anyone released standalone binaries for Windows and Linux? #101

Closed
JoeUX opened this Issue Mar 21, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@JoeUX
Copy link

JoeUX commented Mar 21, 2017

Hi all – I saw all the different programming language implementations on the xxHash website. Is anyone posting binaries for standalone programs, presumably a CLI? I'm most interested in programs I could run on Windows 10, newer releases of Fedora/RHEL, and Alpine.

All I've seen so far are some online xxHash sites, but I'd rather run local.

Any tips on which library implementations would be easiest to compile into a program on my own? Maybe the Go versions?

@Cyan4973 Cyan4973 added the question label Mar 22, 2017

@Cyan4973

This comment has been minimized.

Copy link
Owner

Cyan4973 commented Mar 22, 2017

Are you able to compile source code using make ?

@JoeUX

This comment has been minimized.

Copy link
Author

JoeUX commented Mar 23, 2017

No, that just yields a long error message, as usual. (I didn't know it was even an option in this case – I thought xxHash was just a library.) I can rarely get make/gcc to work on Windows. In this case the error is:

C:\Tools\xxHash-dev> C:\MinGW_64_6.3.0_POSIX_SJLJ\bin\mingw32-make.exe
process_begin: CreateProcess(NULL, uname, ...) failed.
mingw32-make: Makefile:160: pipe: No error
cc -O3 -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef xxhash.c xxhsum.c -o xxhsum.exe
process_begin: CreateProcess(NULL, cc -O3 -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef xxhash.c xxhsum.c -o xxhsum.exe, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:56: recipe for target 'xxhsum' failed
mingw32-make: *** [xxhsum] Error 2

The only make executable I can find in the MinGW distro I downloaded is mingw32-make.exe, as seen above.

@Cyan4973

This comment has been minimized.

Copy link
Owner

Cyan4973 commented Mar 23, 2017

Windows is indeed a difficult platform for make.
I tend to use msys2 environment, which works best for me.
It also allows installation on MinGW64 via pacman.

Alternatively, if you like Visual, you just have to create a console application, include xxhash.c and xxhsum.c, and it should produce the desired binary.

Your initial question also referred to Fedora/RHEL, and Alpine, which should work well with Makefile.

@Cyan4973 Cyan4973 closed this Mar 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.