search for: darwin_version

Displaying 10 results from an estimated 10 matches for "darwin_version".

2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...-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? In the llvm-3.4 toplevel Makefile.rules file, I see... ifeq ($(HOST_OS),Darwin) ifdef MACOSX_DEPLOYMENT_TARGET DARWIN_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_MAJV...
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
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...s 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? > > In the llvm-3.4 toplevel Makefile.rules file, I see... > > ifeq ($(HOST_OS),Darwin) > ifdef MACOSX_DEPLOYMENT_TARGET > DARWIN_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...
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...perhaps they're added via $CC or $CFLAGS? Is this > > >> being done on purpose? > > > > > > In the llvm-3.4 toplevel Makefile.rules file, I see... > > > > > > ifeq ($(HOST_OS),Darwin) > > > ifdef MACOSX_DEPLOYMENT_TARGET > > > DARWIN_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/') > &...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...r > >> CMake invocation - perhaps they're added via $CC or $CFLAGS? Is this > >> being done on purpose? > > > > In the llvm-3.4 toplevel Makefile.rules file, I see... > > > > ifeq ($(HOST_OS),Darwin) > > ifdef MACOSX_DEPLOYMENT_TARGET > > DARWIN_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"...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...r $CFLAGS? Is this > > > >> being done on purpose? > > > > > > > > In the llvm-3.4 toplevel Makefile.rules file, I see... > > > > > > > > ifeq ($(HOST_OS),Darwin) > > > > ifdef MACOSX_DEPLOYMENT_TARGET > > > > DARWIN_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...
2011 Jan 14
0
[LLVMdev] Building the shared library on Mac OS X
...oper 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=$(DARWIN_VERSION) The options above...
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...n) + SharedPrefix := cyg +endif + +#-------------------------------------------------------------------- # LLVM Capable Compiler #-------------------------------------------------------------------- @@ -570,12 +589,7 @@ ifeq ($(HOST_OS),Darwin) SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) endif else - ifeq ($(HOST_OS),Cygwin) - SharedLinkOptions=-shared -nostdlib -Wl,--export-all-symbols \ - -Wl,--enable-auto-import -Wl,--enable-auto-image-base - else - SharedLinkOptions=-shared - endif + SharedLinkOptions=-shared endif ifeq ($(TARGET_OS),Darw...
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
...SharedPrefix := + endif +endif + +#-------------------------------------------------------------------- # LLVM Capable Compiler #-------------------------------------------------------------------- @@ -570,12 +590,7 @@ ifeq ($(HOST_OS),Darwin) SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) endif else - ifeq ($(HOST_OS),Cygwin) - SharedLinkOptions=-shared -nostdlib -Wl,--export-all-symbols \ - -Wl,--enable-auto-import -Wl,--enable-auto-image-base - else - SharedLinkOptions=-shared - endif + SharedLinkOptions=-shared endif ifeq ($(TARGET_OS),Darw...