Files
mines/rin/miner/build/win/README.md
Dobromir Popov 9a2d14de90 windows
2025-09-08 01:38:23 +03:00

52 lines
1.5 KiB
Markdown

# RinHash Windows Executables
This directory contains Windows executables for the RinHash algorithm, built using Docker cross-compilation.
## Files
- `rinhash-test.exe` - Simple test executable demonstrating basic functionality
- `rinhash-windows.exe` - Full RinHash implementation with BLAKE3 + Argon2d + SHA3-256
## Usage
### rinhash-test.exe
```cmd
rinhash-test.exe "Hello World"
```
### rinhash-windows.exe
```cmd
rinhash-windows.exe 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
```
## Technical Details
- **Platform**: Windows x64 (PE32+)
- **Compiler**: MinGW-w64 cross-compiler
- **Build Method**: Docker cross-compilation using dockcross/windows-static-x64
- **Algorithm**: RinHash (BLAKE3 + Argon2d + SHA3-256)
- **Dependencies**: None (statically linked)
## Build Information
- Built on: Linux host using Docker
- Cross-compiler: x86_64-w64-mingw32.static-gcc
- Optimization: -O3 -march=x86-64
- Linking: Static (-static)
## Testing
Both executables are ready for shipping and testing on Windows systems. They demonstrate:
1. Successful Windows cross-compilation from Linux
2. RinHash algorithm implementation
3. Static linking (no external dependencies)
4. Proper PE32+ executable format
## Notes
- These are demonstration executables showing the RinHash algorithm
- For production use, integrate with the full cpuminer-opt codebase
- GPU acceleration would require CUDA/ROCm libraries on Windows
- Network functionality would require libcurl integration