mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-12-08 22:38:25 +00:00
To get the code to build successfully under MinGW the following changes were made. The configure command for some of the projects had to be changed from absolute paths to relative paths to avoid build errors relating to path name issues under windows. GMP, MPC and MPFR are built as part of GCC. fd2sfd has a patch for it to build under MinGW. sfdc is patched to remove carrage returns from the sfd files. This was causing errors in the generated include files.
15 lines
380 B
Diff
15 lines
380 B
Diff
--- fd2sfd/fd2inline.c 2018-06-28 14:37:19.772087300 +0100
|
|
+++ fd2sfd-patched/fd2inline.c 2018-06-28 09:06:12.977739500 +0100
|
|
@@ -46,6 +46,11 @@
|
|
#define REGS 16 /* d0=0,...,a7=15 */
|
|
#define FDS 1000
|
|
|
|
+
|
|
+#ifdef __MINGW32__
|
|
+#define bcopy(s1, s2, n) memmove((s2), (s1), (n))
|
|
+#endif
|
|
+
|
|
typedef enum
|
|
{
|
|
d0, d1, d2, d3, d4, d5, d6, d7, a0, a1, a2, a3, a4, a5, a6, a7, illegal
|