search for: darwin_majvers

Displaying 12 results from an estimated 12 matches for "darwin_majvers".

2009 May 08
2
[LLVMdev] Darwin option processing
...or this to work, the shared library bits in llvm can't be built with that flag. I've found that: Index: Makefile.rules =================================================================== --- Makefile.rules (revision 71041) +++ Makefile.rules (working copy) @@ -472,6 +476,9 @@ ifneq ($(DARWIN_MAJVERS),4) LD.Flags += $(RPATH) -Wl,$(LibDir) endif + ifeq ($(OS),Darwin) + EXTRA_OPTIONS := $(filter-out -mdynamic-no-pic,$(EXTRA_OPTIONS)) + endif endif ifdef TOOL_VERBOSE can be used to strip the option out in the places it won't work. This mirrors the style used in other parts...
2011 Jan 14
0
[LLVMdev] Building the shared library on Mac OS X
...conversation with a fellow developer facing the same problems): diff --git a/Makefile.rules b/Makefile.rules index 9cff105..44d5b2d 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -497,7 +497,7 @@ ifeq ($(HOST_OS),Darwin) # Get "4" out of 10.4 for later pieces in the makefile. DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') - SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined,suppress \ + SharedLinkOptions=-Wl,-undefined,dynamic_lookup \ -dynamiclib ifneq ($(ARCH),ARM) SharedLinkOptions += -mmacosx-version-min=$(D...
2009 May 08
0
[LLVMdev] Darwin option processing
...pic. Does this work for you? -Chris > > > I've found that: > > Index: Makefile.rules > =================================================================== > --- Makefile.rules (revision 71041) > +++ Makefile.rules (working copy) > @@ -472,6 +476,9 @@ > ifneq ($(DARWIN_MAJVERS),4) > LD.Flags += $(RPATH) -Wl,$(LibDir) > endif > + ifeq ($(OS),Darwin) > + EXTRA_OPTIONS := $(filter-out -mdynamic-no-pic,$(EXTRA_OPTIONS)) > + endif > endif > > ifdef TOOL_VERBOSE > > > can be used to strip the option out in the places it won't wor...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...WIN_VERSION := $(MACOSX_DEPLOYMENT_TARGET) else DARWIN_VERSION := `sw_vers -productVersion` endif # Strip a number like 10.4.7 to 10.4 DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/') # Get "4" out of 10.4 for later pieces in the makefile. DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress SharedLinkOptions := -dynamiclib ifdef DEPLOYMENT_TARGET SharedLinkOptions += $(DEPLOYMENT_TARGET) else ifneq ($(ARCH),ARM) SharedLinkO...
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...endif + SharedLinkOptions=-shared endif ifeq ($(TARGET_OS),Darwin) @@ -585,11 +599,13 @@ ifeq ($(TARGET_OS),Darwin) endif ifdef SHARED_LIBRARY +ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) ifneq ($(HOST_OS),Darwin) LD.Flags += $(RPATH) -Wl,'$$ORIGIN' else ifneq ($(DARWIN_MAJVERS),4) - LD.Flags += $(RPATH) -Wl,$(LibDir) + LD.Flags += $(RPATH) -Wl,$(SharedDir) +endif endif endif endif @@ -960,6 +976,13 @@ LLVMUsedLibs := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(LLVMLIBS))) LLVMLibsPaths := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs)) endif +# Win32.DLL may re...
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
Jack, Where do the "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8" flags come from? I don't see them in your CMake invocation - perhaps they're added via $CC or $CFLAGS? Is this being done on purpose? I can add a CMake step checking whether the current CFLAGS/LDFLAGS allow to build an
2010 Aug 05
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Hi Takumi, > Any feedbacks are welcome. > Have fun! This seems to be pretty useful addition to LLVM on windows! And it seems the only painless way to make plugins working, yay! For me the patch looks pretty good. One minor thing: could you please rename SharedDir => SharedLibDir Thanks! -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...endif + SharedLinkOptions=-shared endif ifeq ($(TARGET_OS),Darwin) @@ -585,11 +600,13 @@ ifeq ($(TARGET_OS),Darwin) endif ifdef SHARED_LIBRARY +ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) ifneq ($(HOST_OS),Darwin) LD.Flags += $(RPATH) -Wl,'$$ORIGIN' else ifneq ($(DARWIN_MAJVERS),4) - LD.Flags += $(RPATH) -Wl,$(LibDir) + LD.Flags += $(RPATH) -Wl,$(SharedLibDir) +endif endif endif endif @@ -960,6 +977,13 @@ LLVMUsedLibs := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(LLVMLIBS))) LLVMLibsPaths := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs)) endif +# Win32.DLL may...
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...TARGET) > else > DARWIN_VERSION := `sw_vers -productVersion` > endif > # Strip a number like 10.4.7 to 10.4 > DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/') > # Get "4" out of 10.4 for later pieces in the makefile. > DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') > > LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress > SharedLinkOptions := -dynamiclib > ifdef DEPLOYMENT_TARGET > SharedLinkOptions += $(DEPLOYMENT_TARGET) > else > ifn...
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...rs -productVersion` > > > endif > > > # Strip a number like 10.4.7 to 10.4 > > > DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/') > > > # Get "4" out of 10.4 for later pieces in the makefile. > > > DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') > > > > > > LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress > > > SharedLinkOptions := -dynamiclib > > > ifdef DEPLOYMENT_TARGET > > > SharedLinkOption...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...DARWIN_VERSION := `sw_vers -productVersion` > > endif > > # Strip a number like 10.4.7 to 10.4 > > DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/') > > # Get "4" out of 10.4 for later pieces in the makefile. > > DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') > > > > LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress > > SharedLinkOptions := -dynamiclib > > ifdef DEPLOYMENT_TARGET > > SharedLinkOptions += $(DEPLOYMENT_TARGET)...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...> > endif > > > > # Strip a number like 10.4.7 to 10.4 > > > > DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E > 's/(10.[0-9]).*/\1/') > > > > # Get "4" out of 10.4 for later pieces in the makefile. > > > > DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E > 's/10.([0-9]).*/\1/') > > > > > > > > LoadableModuleOptions := -Wl,-flat_namespace > -Wl,-undefined,suppress > > > > SharedLinkOptions := -dynamiclib > > > > ifdef DEPLOYMENT_TARGET >...