summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch29
-rw-r--r--packages/mingw-w64/v9.0.0/chksum8
-rw-r--r--packages/mingw-w64/v9.0.0/version.desc0
-rw-r--r--samples/aarch64-rpi4-linux-gnu/crosstool.config12
-rw-r--r--samples/aarch64-rpi4-linux-gnu/reported.by3
-rw-r--r--samples/armv8-rpi4-linux-gnueabihf/crosstool.config14
-rw-r--r--samples/armv8-rpi4-linux-gnueabihf/reported.by3
7 files changed, 69 insertions, 0 deletions
diff --git a/packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch b/packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch
new file mode 100644
index 0000000..835be63
--- /dev/null
+++ b/packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch
@@ -0,0 +1,29 @@
+---
+ mingw-w64-tools/genidl/src/genidl_cfg.h | 2 ++
+ mingw-w64-tools/genidl/src/genidl_typinfo.c | 3 +++
+ 2 files changed, 5 insertions(+), 0 deletions(-)
+
+--- a/mingw-w64-tools/genidl/src/genidl_cfg.h
++++ b/mingw-w64-tools/genidl/src/genidl_cfg.h
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
+ #include <memory.h>
+ #include <stdarg.h>
+ #include <stdint.h>
+--- a/mingw-w64-tools/genidl/src/genidl_typinfo.c
++++ b/mingw-w64-tools/genidl/src/genidl_typinfo.c
+@@ -21,7 +21,10 @@
+ #include "genidl_cfg.h"
+ #include "genidl_typeinfo.h"
+ #include "genidl_typinfo.h"
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
++#include <stdlib.h>
+ #include <string.h>
+ #include <memory.h>
diff --git a/packages/mingw-w64/v9.0.0/chksum b/packages/mingw-w64/v9.0.0/chksum
new file mode 100644
index 0000000..9532d91
--- /dev/null
+++ b/packages/mingw-w64/v9.0.0/chksum
@@ -0,0 +1,8 @@
+md5 mingw-w64-9.0.0.tar.bz2 f22c1dcc6288926199b24d9861e19de5
+sha1 mingw-w64-v9.0.0.tar.bz2 9c496ed063e085888d250cc461ec4d31d97b72f1
+sha256 mingw-w64-v9.0.0.tar.bz2 1929b94b402f5ff4d7d37a9fe88daa9cc55515a6134805c104d1794ae22a4181
+sha512 mingw-w64-v9.0.0.tar.bz2 6691331a2ab521d22c1d32bebe0ed049bd62a7a7722cff38e7792b4e42c6b8df4356084afff6c916b487b3ebddc4372b398ab7cd0c7f4ff6991a70fe64177386
+md5 mingw-w64-v9.0.0.zip fa3819dce0219b1735c9b16818adbbb8
+sha1 mingw-w64-v9.0.0.zip acb21a240cf65e67eabc9145f74a3a874c18ff45
+sha256 mingw-w64-v9.0.0.zip 2b0f450dbd9f078b9bd11b77b0eb804040550b0a32963e5f51842740f6058b44
+sha512 mingw-w64-v9.0.0.zip 0deb570b2863f3b2fdc7a980fc981f904dba4210386d7feddf404a7ba8ed8016c3c945eb9361c6ae6338cc4b19617819cc4ace1cded8e28b3a90119b0ee3803b
diff --git a/packages/mingw-w64/v9.0.0/version.desc b/packages/mingw-w64/v9.0.0/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/mingw-w64/v9.0.0/version.desc
diff --git a/samples/aarch64-rpi4-linux-gnu/crosstool.config b/samples/aarch64-rpi4-linux-gnu/crosstool.config
new file mode 100644
index 0000000..6324ded
--- /dev/null
+++ b/samples/aarch64-rpi4-linux-gnu/crosstool.config
@@ -0,0 +1,12 @@
+CT_CONFIG_VERSION="3"
+CT_ARCH_ARM=y
+CT_ARCH_CPU="cortex-a72"
+CT_ARCH_64=y
+CT_TARGET_VENDOR="rpi4"
+CT_KERNEL_LINUX=y
+CT_BINUTILS_LINKER_LD_GOLD=y
+CT_BINUTILS_GOLD_THREADS=y
+CT_BINUTILS_LD_WRAPPER=y
+CT_BINUTILS_PLUGINS=y
+CT_CC_LANG_CXX=y
+CT_DEBUG_GDB=y
diff --git a/samples/aarch64-rpi4-linux-gnu/reported.by b/samples/aarch64-rpi4-linux-gnu/reported.by
new file mode 100644
index 0000000..0e93b89
--- /dev/null
+++ b/samples/aarch64-rpi4-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Bensuperpc <bensuperpc@gmail.com>"
+reporter_url="https://github.com/Bensuperpc"
+reporter_comment="Raspberry PI 4 aarch64"
diff --git a/samples/armv8-rpi4-linux-gnueabihf/crosstool.config b/samples/armv8-rpi4-linux-gnueabihf/crosstool.config
new file mode 100644
index 0000000..309747b
--- /dev/null
+++ b/samples/armv8-rpi4-linux-gnueabihf/crosstool.config
@@ -0,0 +1,14 @@
+CT_CONFIG_VERSION="3"
+CT_ARCH_ARM=y
+CT_ARCH_CPU="cortex-a72"
+CT_ARCH_SUFFIX="v8"
+CT_ARCH_FPU="neon-vfpv4"
+CT_ARCH_FLOAT_HW=y
+CT_TARGET_VENDOR="rpi4"
+CT_KERNEL_LINUX=y
+CT_BINUTILS_LINKER_LD_GOLD=y
+CT_BINUTILS_GOLD_THREADS=y
+CT_BINUTILS_LD_WRAPPER=y
+CT_BINUTILS_PLUGINS=y
+CT_CC_LANG_CXX=y
+CT_DEBUG_GDB=y
diff --git a/samples/armv8-rpi4-linux-gnueabihf/reported.by b/samples/armv8-rpi4-linux-gnueabihf/reported.by
new file mode 100644
index 0000000..8a93cbd
--- /dev/null
+++ b/samples/armv8-rpi4-linux-gnueabihf/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Bensuperpc <bensuperpc@gmail.com>"
+reporter_url="https://github.com/Bensuperpc"
+reporter_comment="crosstool-NG configuration for Raspberry Pi 4."