search for: sharedlinkoptions

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

2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...LVMToolDir) +endif + +ifeq ($(HOST_OS),Cygwin) + 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=...
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
...gwin) + SharedPrefix := cyg + else + 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=...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...$(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) SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) endif endif else SharedLinkOptions=-shared endif ifeq ($(TARGET_OS),Darwin) ifdef DEPLOYMENT_TARGET...
2011 Jan 14
0
[LLVMdev] Building the shared library on Mac OS X
...es 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 use the default two-level namespace on OS X and change name...
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
...RSION)| 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) > SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) > endif > endif > else > SharedLinkOptions=-shared > endif > &gt...
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...> > # 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) > > > SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) > > > endif > > >...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
....[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) > > SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) > > endif > > endif > > else > >...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...; 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) > > > > SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) > > >...