[lldb-dev] Release and BuildAndIntegration compile fixes

Jason Molenda jason at molenda.com
Thu Jun 10 11:09:36 PDT 2010


I had to make a similar change to USER_HEADER_SEARCH_PATHS in a build target the other day.  I'll look over the patch tonight when I get home if no one else has before then.

J

On Jun 10, 2010, at 10:23 AM, malkia wrote:

> 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
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list