<p>The following triplets are currently supported by Bitcoin Core's &quot;depends&quot; build system, assuming that's what you're talking about (and even if not, these are fairly standard). From <a href="https://github.com/bitcoin/bitcoin/blob/master/depends/README.md" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/depends/README.md</a>:</p>
<ul>
<li><code>i686-pc-linux-gnu</code> for Linux 32 bit</li>
<li><code>x86_64-pc-linux-gnu</code> for x86 Linux</li>
<li><code>x86_64-w64-mingw32</code> for Win64</li>
<li><code>x86_64-apple-darwin18</code> for macOS</li>
<li><code>arm-linux-gnueabihf</code> for Linux ARM 32 bit</li>
<li><code>aarch64-linux-gnu</code> for Linux ARM 64 bit</li>
<li><code>powerpc64-linux-gnu</code> for Linux POWER 64-bit (big endian)</li>
<li><code>powerpc64le-linux-gnu</code> for Linux POWER 64-bit (little endian)</li>
<li><code>riscv32-linux-gnu</code> for Linux RISC-V 32 bit</li>
<li><code>riscv64-linux-gnu</code> for Linux RISC-V 64 bit</li>
<li><code>s390x-linux-gnu</code> for Linux S390X</li>
</ul>
<p>Added in master (which will become release version 22.0):</p>
<ul>
<li><code>armv7a-linux-android</code> for Android ARM 32 bit</li>
<li><code>aarch64-linux-android</code> for Android ARM 64 bit</li>
<li><code>i686-linux-android</code> for Android x86 32 bit</li>
<li><code>x86_64-linux-android</code> for Android x86 64 bit</li>
</ul>
<p><code>x86_64-pc-linux-gnu</code> would be the most common one (targetting 64-bit x86 systems).</p>

CC BY-SA 4.0
2021-04-05T17:30:43.983Z
That's awesome thank out ill try x86_64-pc-linux-gnu. Just need an output from the make -install that I can plave on an ubuntu 18.04 OS and run on a vm in GCP
Hizzy
CC BY-SA 4.0
2021-04-05T20:42:36.357Z
Weird I ran the command for make and got this error, /bin/sh: 1: Syntax error: "(" unexpected
funcs.mk:242:. I havent changed this file and have used it to make WIndows and Mac depend prefixes
Hizzy
CC BY-SA 4.0
2021-04-05T06:30:01.660Z
2021-04-05T06:50:04.200Z
2021-04-05T06:50:04.200Z
Pieter Wuille
<p>I am working on on creating builds for windows, mac, and Unix. I am working on Ubuntu 18.04 but on a windows OS. I figured  out host-platform-triplets for windows and mac and generated prefixes for them but not sure how to determine the best Unix prefix. I was hoping to run this in a unix container out in gcp as a test harness. Any recommendations or guidance?</p>

<dependencies>
Choosing Rights Host For Dependency Make
Hizzy
# Choosing Rights Host For Dependency Make

(Asked by: username_0 on 2021-04-05)

I am working on on creating builds for windows, mac, and Unix. I am working on Ubuntu 18.04 but on a windows OS. I figured out host-platform-triplets for windows and mac and generated prefixes for them but not sure how to determine the best Unix prefix. I was hoping to run this in a unix container out in gcp as a test harness. Any recommendations or guidance?

**Tags:** dependencies


---

## 1 answers

### Answer by username_1 on 2021-04-05. Score: 1 | Accepted answer

The following triplets are currently supported by Bitcoin Core's "depends" build system, assuming that's what you're talking about (and even if not, these are fairly standard). From <https://github.com/bitcoin/bitcoin/blob/master/depends/README.md>:

* `i686-pc-linux-gnu` for Linux 32 bit
* `x86_64-pc-linux-gnu` for x86 Linux
* `x86_64-w64-mingw32` for Win64
* `x86_64-apple-darwin18` for macOS
* `arm-linux-gnueabihf` for Linux ARM 32 bit
* `aarch64-linux-gnu` for Linux ARM 64 bit
* `powerpc64-linux-gnu` for Linux POWER 64-bit (big endian)
* `powerpc64le-linux-gnu` for Linux POWER 64-bit (little endian)
* `riscv32-linux-gnu` for Linux RISC-V 32 bit
* `riscv64-linux-gnu` for Linux RISC-V 64 bit
* `s390x-linux-gnu` for Linux S390X

Added in master (which will become release version 22.0):

* `armv7a-linux-android` for Android ARM 32 bit
* `aarch64-linux-android` for Android ARM 64 bit
* `i686-linux-android` for Android x86 32 bit
* `x86_64-linux-android` for Android x86 64 bit

`x86_64-pc-linux-gnu` would be the most common one (targetting 64-bit x86 systems).

> **Comments:**
> **username_0**: That's awesome thank out ill try x86_64-pc-linux-gnu. Just need an output from the make -install that I can plave on an ubuntu 18.04 OS and run on a vm in GCP  
> **username_0**: Weird I ran the command for make and got this error, /bin/sh: 1: Syntax error: "(" unexpected funcs.mk:242:. I havent changed this file and have used it to make WIndows and Mac depend prefixes  

---

