From 0e00ccc314faa6ad00e55c4a2b09adff5a8c9459 Mon Sep 17 00:00:00 2001 From: bhgv Date: Fri, 2 Mar 2018 03:36:20 +0200 Subject: ready to build and run in Linux as a regular emu --- Linux/386/bin/data2c | Bin 51457 -> 56596 bytes Linux/386/bin/iyacc | Bin 113053 -> 127036 bytes Linux/386/bin/mk | Bin Linux/386/bin/mkext | Bin Linux/386/include/emu.h | 6 ++++++ Linux/386/include/lib9.h | 5 +++++ Linux/arm/include/lib9.h | 7 +++++++ 7 files changed, 18 insertions(+) mode change 100644 => 100755 Linux/386/bin/data2c mode change 100644 => 100755 Linux/386/bin/iyacc mode change 100644 => 100755 Linux/386/bin/mk mode change 100644 => 100755 Linux/386/bin/mkext (limited to 'Linux') diff --git a/Linux/386/bin/data2c b/Linux/386/bin/data2c old mode 100644 new mode 100755 index 6d037e9..c4978ed Binary files a/Linux/386/bin/data2c and b/Linux/386/bin/data2c differ diff --git a/Linux/386/bin/iyacc b/Linux/386/bin/iyacc old mode 100644 new mode 100755 index 31082cf..932c516 Binary files a/Linux/386/bin/iyacc and b/Linux/386/bin/iyacc differ diff --git a/Linux/386/bin/mk b/Linux/386/bin/mk old mode 100644 new mode 100755 diff --git a/Linux/386/bin/mkext b/Linux/386/bin/mkext old mode 100644 new mode 100755 diff --git a/Linux/386/include/emu.h b/Linux/386/include/emu.h index cdef342..be7381c 100644 --- a/Linux/386/include/emu.h +++ b/Linux/386/include/emu.h @@ -7,6 +7,10 @@ /* * This structure must agree with FPsave and FPrestore asm routines */ + +#ifndef _EMU_H +#define _EMU_H + typedef struct FPU FPU; struct FPU { @@ -31,3 +35,5 @@ extern Proc* getup(void); typedef sigjmp_buf osjmpbuf; #define ossetjmp(buf) sigsetjmp(buf, 1) + +#endif diff --git a/Linux/386/include/lib9.h b/Linux/386/include/lib9.h index 30808d2..263b27d 100644 --- a/Linux/386/include/lib9.h +++ b/Linux/386/include/lib9.h @@ -1,3 +1,6 @@ +#ifndef _LIB9_H +#define _LIB9_H + /* define _BSD_SOURCE to use ISO C, POSIX, and 4.3BSD things. */ #define USE_PTHREADS #ifndef _DEFAULT_SOURCE @@ -493,3 +496,5 @@ extern void setfcr(ulong); extern void setfsr(ulong); extern ulong getfcr(void); extern ulong getfsr(void); + +#endif diff --git a/Linux/arm/include/lib9.h b/Linux/arm/include/lib9.h index 91f19c2..7a1f237 100644 --- a/Linux/arm/include/lib9.h +++ b/Linux/arm/include/lib9.h @@ -1,3 +1,7 @@ +#ifndef _LIB9_H +#define _LIB9_H + + /* define _BSD_SOURCE to use ISO C, POSIX, and 4.3BSD things. */ #define USE_PTHREADS #ifndef _DEFAULT_SOURCE @@ -502,3 +506,6 @@ extern ulong getfsr(void); #define FPAUNFL FPUNFL #define FPAZDIV FPZDIV #define FPAINVAL FPINVAL + + +#endif -- cgit v1.2.3