Displaying 6 results from an estimated 6 matches for "have_link_version_script".
2010 Sep 29
0
[LLVMdev] LLVM2.8rc2 on MinGW 4.5.1 with --enable-shared
...atch;
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -942,6 +942,11 @@ ifdef EXPORTED_SYMBOL_FILE
# First, set up the native export file, which may differ from the source
# export file.
+# The option --version-script is not effective on GNU ld win32.
+ifneq (,$(filter $(HOST_OS),Cygwin MingW))
+ HAVE_LINK_VERSION_SCRIPT := 0
+endif
+
ifeq ($(HOST_OS),Darwin)
# Darwin convention prefixes symbols with underscores.
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed
...Takumi
2010/9/30 Kevin Kelley <kevin at kelleysoft.com>:
> Anybody having success building an LLVM.dll in this config...
2010 Sep 29
3
[LLVMdev] LLVM2.8rc2 on MinGW 4.5.1 with --enable-shared
Anybody having success building an LLVM.dll in this configuration?
It's failing for me, in tools/llvm-shlib, with an error suggesting
that the gcc ld doesn't understand the format of the exports map
being generated.
(plain configure && make works just fine, it's just this shared
option that fails; google shows support for --enable-shared was
added around 2.7 timeframe and
2013 Dec 22
2
[LLVMdev] How do I disable --version-script when cross compiling clang/LLVM on a Mac?
On 12/21/2013 05:21 PM, Alp Toker wrote:
>
> On 21/12/2013 22:51, Richard Pennington wrote:
>> Hi,
>>
>> I asked this question a few days ago and didn't get any responses. I
>> thought I'd try again with a little more detail.
>>
>> I am trying to cross compile my clang/LLVM based ELLCC cross
>> development tools project (http://ellcc.org)
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...s += $(NativeExportsFile)
+
+$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
+ $(Echo) Generating $(notdir $@)
+ $(Verb) $(ECHO) "EXPORTS" > $@
+ $(Verb) $(CAT) $< >> $@
+clean-local::
+ -$(Verb) $(RM) -f $(NativeExportsFile)
+else
+
# gold, bfd ld, etc.
ifeq ($(HAVE_LINK_VERSION_SCRIPT),1)
LLVMLibsOptions += -Wl,--version-script,$(NativeExportsFile)
@@ -1025,6 +1068,8 @@ endif
endif
+endif
+
###############################################################################
# Library Build Rules: Four ways to build a library
##################################################...
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
...s += $(NativeExportsFile)
+
+$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
+ $(Echo) Generating $(notdir $@)
+ $(Verb) $(ECHO) "EXPORTS" > $@
+ $(Verb) $(CAT) $< >> $@
+clean-local::
+ -$(Verb) $(RM) -f $(NativeExportsFile)
+else
+
# gold, bfd ld, etc.
ifeq ($(HAVE_LINK_VERSION_SCRIPT),1)
LLVMLibsOptions += -Wl,--version-script,$(NativeExportsFile)
@@ -1025,6 +1069,8 @@ endif
endif
+endif
+
###############################################################################
# Library Build Rules: Four ways to build a library
##################################################...