From: Chris Koeritz Date: Tue, 27 Apr 2021 15:31:03 +0000 (-0400) Subject: partially working mac compiler settings X-Git-Tag: 2.140.128~1^2~26 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=7d715f6667e8bb5d7a4f965adb5f36853eb47818 partially working mac compiler settings still can't get through networking stuff with socket select? but got through everything before that. --- diff --git a/scripts/clam/cpp/variables.def b/scripts/clam/cpp/variables.def index e3e3fb99..7ad4c79c 100644 --- a/scripts/clam/cpp/variables.def +++ b/scripts/clam/cpp/variables.def @@ -914,7 +914,7 @@ endif ############################################################################ ifeq "$(COMPILER)" "GNU_DARWIN" - # Darwin kernel GNU compiler... + # Darwin kernel GNU compiler... really more general macos (MacOS) here these days. CC = g++ COMPILER_ROOT_DIR = / PLATFORM_ADD_IN = darwin @@ -926,12 +926,12 @@ ifeq "$(COMPILER)" "GNU_DARWIN" DEFINITIONS += _FILE_OFFSET_BITS=64 DEPENDENCY_DEFINITIONS += NO_VERSION - DEPENDENCY_ADDITIONS = -X/usr/include -X/usr/include/c++/$(COMPILER_VERSION) -X/usr/include/c++/$(COMPILER_VERSION)/tr1 -X/usr/local/include -X/usr/include/linux -X/usr/include/wx-2.8 -X/usr/lib/gcc/i586-suse-linux/$(COMPILER_VERSION)/include -X/usr/lib/gcc/i486-linux-gnu/$(COMPILER_VERSION)/include +# DEPENDENCY_ADDITIONS = -X/usr/include -X/usr/include/c++/$(COMPILER_VERSION) -X/usr/include/c++/$(COMPILER_VERSION)/tr1 -X/usr/local/include -X/usr/include/linux -X/usr/include/wx-2.8 -X/usr/lib/gcc/i586-suse-linux/$(COMPILER_VERSION)/include -X/usr/lib/gcc/i486-linux-gnu/$(COMPILER_VERSION)/include + DEPENDENCY_ADDITIONS = -X/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include COMPILER_HEADER_DIR := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include #/usr/local/include /usr/include -# export CPATH := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -#/System/Library/Frameworks/Foundation.framework/Versions/C/Headers +#old /System/Library/Frameworks/Foundation.framework/Versions/C/Headers #/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include #/Library/Developer/CommandLineTools/usr/include @@ -941,11 +941,10 @@ ifeq "$(COMPILER)" "GNU_DARWIN" # ifeq "x86_64" "$(ARCHITECTURE)" # COMPILER_LIBRARY_DIR = /lib64 /usr/lib64 /usr/local/lib64 # else - - COMPILER_LIBRARY_DIR = /usr/lib /usr/local/lib -#/lib - + COMPILER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib +#/usr/lib /usr/local/lib # endif + # DEFINITIONS += __LINUX__ linux __linux__ UNIX unix __UNIX__ __USE_GNU DEFINITIONS += UNIX unix __UNIX__ __USE_GNU # X Window System not enabled by default.