diff --git a/programs/cmm/c--/c--.elf b/programs/cmm/c--/c--.elf index e8ee77f1eb..2706cc8057 100644 Binary files a/programs/cmm/c--/c--.elf and b/programs/cmm/c--/c--.elf differ diff --git a/programs/cmm/c--/c--.exe b/programs/cmm/c--/c--.exe index 353d18c4f4..658971962b 100644 Binary files a/programs/cmm/c--/c--.exe and b/programs/cmm/c--/c--.exe differ diff --git a/programs/develop/cmm/Makefile.lin32 b/programs/develop/cmm/Makefile.lin32 index 94676e77c8..b27ff725bd 100644 --- a/programs/develop/cmm/Makefile.lin32 +++ b/programs/develop/cmm/Makefile.lin32 @@ -1,5 +1,5 @@ CPPFLAGS= -m32 -fpack-struct=2 -fno-exceptions -std=c++03 -Wno-write-strings -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DO_BINARY=0 -D_UNIX_ -LDFLAGS= -m32 +LDFLAGS= -m32 -static OBJS=$(patsubst %.cpp, %.o, $(wildcard *.cpp)) @@ -13,3 +13,6 @@ $(TARGET): $(OBJS) clean: rm -f $(OBJS) $(TARGET) + +install: $(TARGET) + cp c-- ../../cmm/c--/c--.elf diff --git a/programs/develop/cmm/Makefile.win32 b/programs/develop/cmm/Makefile.win32 index 2abea39bb2..c564ad12f5 100644 --- a/programs/develop/cmm/Makefile.win32 +++ b/programs/develop/cmm/Makefile.win32 @@ -15,3 +15,6 @@ $(TARGET): $(OBJS) clean: rm -f $(OBJS) $(TARGET) + +install: $(TARGET) + cp c--.exe ../../cmm/c--/c--.exe \ No newline at end of file diff --git a/programs/develop/cmm/struct.h b/programs/develop/cmm/struct.h index d137eb1c2e..fa7dfedfbb 100644 --- a/programs/develop/cmm/struct.h +++ b/programs/develop/cmm/struct.h @@ -414,7 +414,7 @@ struct paraminfo struct MEOSheader { - unsigned char sign[25]; + unsigned char sign[8]; unsigned long vers; unsigned long start; unsigned long size;