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?
Asked
Active
Viewed 54 times
1 Answers
1
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-gnufor Linux 32 bitx86_64-pc-linux-gnufor x86 Linuxx86_64-w64-mingw32for Win64x86_64-apple-darwin18for macOSarm-linux-gnueabihffor Linux ARM 32 bitaarch64-linux-gnufor Linux ARM 64 bitpowerpc64-linux-gnufor Linux POWER 64-bit (big endian)powerpc64le-linux-gnufor Linux POWER 64-bit (little endian)riscv32-linux-gnufor Linux RISC-V 32 bitriscv64-linux-gnufor Linux RISC-V 64 bits390x-linux-gnufor Linux S390X
Added in master (which will become release version 22.0):
armv7a-linux-androidfor Android ARM 32 bitaarch64-linux-androidfor Android ARM 64 biti686-linux-androidfor Android x86 32 bitx86_64-linux-androidfor Android x86 64 bit
x86_64-pc-linux-gnu would be the most common one (targetting 64-bit x86 systems).
Pieter Wuille
- 98,249
- 9
- 183
- 287
-
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 Apr 05 '21 at 17:30
-
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 Apr 05 '21 at 20:42