[lldb-dev] Release and BuildAndIntegration compile fixes

malkia malkia at gmail.com
Thu Jun 10 10:23:27 PDT 2010


Hi guys,

I've had problems compiling Release & BuildAndIntegration, and also
running Release/lldb and BuildAndIntegration/lldb.

Here is patch to fix them

malkia ~/p/lldb $ svn diff lldb.xcodeproj/
Index: lldb.xcodeproj/project.pbxproj
===================================================================
--- lldb.xcodeproj/project.pbxproj	(revision 105791)
+++ lldb.xcodeproj/project.pbxproj	(working copy)
@@ -2673,7 +2673,7 @@
 				);
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				ONLY_ACTIVE_ARCH = YES;
+				ONLY_ACTIVE_ARCH = NO;
 				PREBINDING = NO;
 				VALID_ARCHS = "x86_64 i386";
 			};
@@ -2695,6 +2695,7 @@
 				);
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
+				ONLY_ACTIVE_ARCH = NO;
 				PREBINDING = NO;
 				VALID_ARCHS = "x86_64 i386";
 			};
@@ -2847,11 +2848,11 @@
 					__TEXT,
 					__info_plist,
 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
-					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks/",
+					"-Wl,-rpath, at loader_path/",
 				);
 				PREBINDING = NO;
 				PRODUCT_NAME = lldb;
-				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include/lldb/Utility";
+				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include
$(SRCROOT)/source/Host/macosx/cfcpp $(SRCROOT)/llvm/include
$(SRCROOT)/llvm/tools/clang/include $(LLVM_BUILD_DIR)/llvm/include
$(LLVM_BUILD_DIR)/llvm/tools/clang/include";
 				VERSIONING_SYSTEM = "apple-generic";
 				ZERO_LINK = NO;
 			};
@@ -2972,11 +2973,11 @@
 					__TEXT,
 					__info_plist,
 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
-					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks/",
+					"-Wl,-rpath, at loader_path/",
 				);
 				PREBINDING = NO;
 				PRODUCT_NAME = lldb;
-				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include/lldb/Utility";
+				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include
$(SRCROOT)/source/Host/macosx/cfcpp $(SRCROOT)/llvm/include
$(SRCROOT)/llvm/tools/clang/include $(LLVM_BUILD_DIR)/llvm/include
$(LLVM_BUILD_DIR)/llvm/tools/clang/include";
 				VERSIONING_SYSTEM = "apple-generic";
 				ZERO_LINK = NO;
 			};

Thanks,
Dimiter "malkia" Stanev,
ICQ: 21875894
malkia at mac.com
malkia at gmail.com



More information about the lldb-dev mailing list