An open API service indexing awesome lists of open source software.

https://github.com/andriykalashnykov/quadmath-cross

Cross compile quadmath
https://github.com/andriykalashnykov/quadmath-cross

aarch64 arm64 c clang cpp cross-platform quadmath

Last synced: 8 months ago
JSON representation

Cross compile quadmath

Awesome Lists containing this project

README

          

# quadmath-cross

Cross compile quadmath

## Build docker images

Build `amd64` `builder` image first

```bash
docker build --platform linux/amd64 -f Dockerfile.builder -t docker.io/anriykalashnykov/quadmath-cross:v0.0.1-builder .
```

Build `arm64` `runtime` image from `amd64` `builder` image

```bash
docker build -f Dockerfile.runtme.local -t docker.io/anriykalashnykov/quadmath-cross:v0.0.1-runtime .
```

## Run docker image

Run `arm64` `runtime` image

```bash
docker run -it --rm --platform linux/arm64 docker.io/anriykalashnykov/quadmath-cross:v0.0.1-runtime /bin/sh
```