diff --git a/tools/cross-compilation/linux-amd64.txt b/tools/cross-compilation/linux-amd64.txt new file mode 100644 index 0000000..682ed1d --- /dev/null +++ b/tools/cross-compilation/linux-amd64.txt @@ -0,0 +1,12 @@ +[binaries] +c = 'gcc' +cpp = 'g++' +ar = 'ar' +strip = 'strip' +pkgconfig = 'pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86_64' +cpu = 'x86_64' +endian = 'little' diff --git a/tools/cross-compilation/linux-armhf.txt b/tools/cross-compilation/linux-armhf.txt new file mode 100644 index 0000000..5d74d71 --- /dev/null +++ b/tools/cross-compilation/linux-armhf.txt @@ -0,0 +1,12 @@ +[binaries] +c = 'arm-linux-gnueabihf-gcc' +cpp = 'arm-linux-gnueabihf-cpp' +ar = 'arm-linux-gnueabihf-ar' +strip = 'arm-linux-gnueabihf-strip' +pkgconfig = 'arm-linux-gnueabihf-pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'arm' +cpu = 'armv7hl' +endian = 'little' diff --git a/tools/cross-compilation/linux-i686.txt b/tools/cross-compilation/linux-i686.txt new file mode 100644 index 0000000..a529ce1 --- /dev/null +++ b/tools/cross-compilation/linux-i686.txt @@ -0,0 +1,17 @@ +[binaries] +c = 'x86_64-linux-gnu-gcc' +cpp = 'x86_64-linux-gnu-g++' +ar = 'x86_64-linux-gnu-ar' +strip = 'x86_64-linux-gnu-strip' +pkgconfig = 'x86_64-linux-gnu-pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'i686' +endian = 'little' + +[properties] +c_args = ['-m32'] +c_link_args = ['-m32'] +needs_exe_wrapper = true \ No newline at end of file diff --git a/tools/cross-compilation/windows-x64.txt b/tools/cross-compilation/windows-x64.txt new file mode 100644 index 0000000..2e2f6df --- /dev/null +++ b/tools/cross-compilation/windows-x64.txt @@ -0,0 +1,13 @@ +[binaries] +c = 'x86_64-w64-mingw32-gcc' +cpp = 'x86_64-w64-mingw32-g++' +ar = 'x86_64-w64-mingw32-ar' +strip = 'x86_64-w64-mingw32-strip' +pkgconfig = 'x86_64-w64-mingw32-pkg-config' +windres = 'x86_64-w64-mingw32-windres' + +[host_machine] +system = 'windows' +cpu_family = 'x86_64' +cpu = 'x86_64' +endian = 'little' diff --git a/tools/cross-compilation/windows-x86.txt b/tools/cross-compilation/windows-x86.txt new file mode 100644 index 0000000..1fe4295 --- /dev/null +++ b/tools/cross-compilation/windows-x86.txt @@ -0,0 +1,13 @@ +[binaries] +c = 'i686-w64-mingw32-gcc' +cpp = 'i686-w64-mingw32-g++' +ar = 'i686-w64-mingw32-ar' +strip = 'i686-w64-mingw32-strip' +pkgconfig = 'i686-w64-mingw32-pkg-config' +windres = 'i686-w64-mingw32-windres' + +[host_machine] +system = 'windows' +cpu_family = 'x86' +cpu = 'i686' +endian = 'little'