Switched to gcc on MacOSX and Darwin.

Pascal J. Bourguignon [2015-08-29 16:53]
Switched to gcc on MacOSX and Darwin.
Filename
bclib/sources/BcMem.c
makedir/targetDarwin
makedir/targetMACOSX
diff --git a/bclib/sources/BcMem.c b/bclib/sources/BcMem.c
index f64b952..09b7d6e 100644
--- a/bclib/sources/BcMem.c
+++ b/bclib/sources/BcMem.c
@@ -66,6 +66,7 @@ LEGAL
 /* application*/
 #include <names.h>
 #include BcMem_h
+#include BcTypes_h
 #include BcExcept_h
 #include BcImplementation_h

diff --git a/makedir/targetDarwin b/makedir/targetDarwin
index 9024e94..3b1a3da 100644
--- a/makedir/targetDarwin
+++ b/makedir/targetDarwin
@@ -42,7 +42,8 @@ RANLIB				=	ranlib
 RANLIBFLAGS         =   -s

 ## Support for C / Objective-C:
-CC					=	/usr/bin/cc
+#CC					=	/usr/bin/cc
+CC					=	gcc
 CFLAGS				=	$(TARGET_CFLAGS)
 CCMAKEDEPENDS		=	$(CC) -M $(INCLUDES)
 .SUFFIXES:: .o .h .c .m
diff --git a/makedir/targetMACOSX b/makedir/targetMACOSX
index 6de4e49..773e6b5 100644
--- a/makedir/targetMACOSX
+++ b/makedir/targetMACOSX
@@ -42,7 +42,8 @@ RANLIB				=	ranlib
 RANLIBFLAGS         =   -s

 ## Support for C / Objective-C:
-CC					=	/usr/bin/cc
+#CC					=	/usr/bin/cc
+CC					=	gcc
 CFLAGS				=	$(TARGET_CFLAGS)
 CCMAKEDEPENDS		=	$(CC) -M $(INCLUDES)
 .SUFFIXES:: .o .h .c .m
ViewGit