https://github.com/samuelmarks/bc-portable
bc made portable. Taken from the Heirloom-ng project (which was originally from SunOS).
https://github.com/samuelmarks/bc-portable
Last synced: over 1 year ago
JSON representation
bc made portable. Taken from the Heirloom-ng project (which was originally from SunOS).
- Host: GitHub
- URL: https://github.com/samuelmarks/bc-portable
- Owner: SamuelMarks
- License: apache-2.0
- Created: 2023-08-17T03:53:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T03:53:53.000Z (almost 3 years ago)
- Last Synced: 2025-01-28T04:32:02.274Z (over 1 year ago)
- Language: C
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
bc_portable
=====
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/SamuelMarks/bc-portable/actions/workflows/linux-Windows-macOS.yml)
bc made portable. Taken from the Heirloom-ng project (which was originally from SunOS).
### Development guide
Install: CMake ; C compiler toolchain ; git. Then:
```sh
$ git clone "https://github.com/offscale/vcpkg" -b "project0"
# Windows:
$ vcpkg\bootstrap-vcpkg.bat
# Non-Windows:
$ ./vcpkg/bootstrap-vcpkg.sh
# Both Windows and non-Windows:
$ git clone "https://github.com/SamuelMarks/bc-portable" && cd "cdd-c" # Or your fork of this repo
# Windows
$ cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_TOOLCHAIN_FILE="..\vcpkg\scripts\buildsystems\vcpkg.cmake" -S . -B "build"
# Non-Windows
$ cmake -DCMAKE_BUILD_TYPE='Debug' -DCMAKE_TOOLCHAIN_FILE='../vcpkg/scripts/buildsystems/vcpkg.cmake' -S . -B 'build'
# Both Windows and non-Windows:
$ cmake --build "build"
# Test
$ cd "build" && ctest -C "Debug" --verbose
```
---
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or )
- MIT license ([LICENSE-MIT](LICENSE-MIT) or )
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.