https://github.com/mixih/hpgcc3-docker
Docker config for the HPGCC3 project (original project: http://hpgcc3.org/)
https://github.com/mixih/hpgcc3-docker
cross-compilation docker
Last synced: about 2 months ago
JSON representation
Docker config for the HPGCC3 project (original project: http://hpgcc3.org/)
- Host: GitHub
- URL: https://github.com/mixih/hpgcc3-docker
- Owner: Mixih
- Created: 2017-02-22T20:01:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-22T20:31:19.000Z (over 9 years ago)
- Last Synced: 2025-12-28T19:46:07.371Z (6 months ago)
- Topics: cross-compilation, docker
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hpgcc3-docker
This is a docker configuration script for the hpgcc3 project which ships C
cross compilation libraries and configurations for the HP 50g calculator. This
project was created because hpgcc3 fails to compile on gcc v6 and above. Hpgcc3
also depends on the very heavy IDE eclipse. This configuration aims to solve
these shortcomings by providing a container to provide a controlled environment
for builds to excecute and replacing the heavy eclipse IDE dependency with an
auto configuring makefile. A mechanism is been provided for allowing any
command to be excecuted in the build environment to allow custom configurations.
## Prerequisites:
- docker, preferably with your user in the `docker` group
- root acess to the machine if your user is not in the `docker` group
## Installation
To install type the following commands into the shell:
````
git clone https://github.com/Mixih/hpgcc3-docker
cd hpgcc3-docker
docker build -t hpgcc .
````
Then you will need to create the `hpgcc` script somewhere in your PATH by
running:
````
docker run -it hpgcc > hpgcc.sh
chmod +x hpgcc.sh
````
This concludes the install.
## Usage:
Run any compiler comand like it would be done normally with the hpgcc script prefixed like:
````
hpgcc.sh [some command]
````
Use the option `--make` to automatically make the current directory for the hp50g target.