Comments (4)
Can you show the entire cccl command executed? I suspect it has -link
in the list of command line options, which means link against the ink library, so cccl is doing the right thing. All you have shown is what is passed to libtool.
from cccl.
I've stumbled upon the same issue.
Here's the output of make V=1
:
/bin/sh ../libtool --tag=CC --mode=link cccl /DIXML_HAVE_SCRIPTSUPPORT /DUPNP_USE_MSVCPP /DLIBUPNP_EXPORTS /FS --cccl-verbose /DWIN32 /D_WINDOWS /W3 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -g -Wall -Wextra -Wpedantic -version-info 11:0:0 -export-symbols-regex '^ixml.*' -no-undefined --cccl-verbose -o libixml.la -rpath D:/Projects/GitHub/vcpkg/packages/pupnp_x64-windows/debug/lib src/attr.lo src/document.lo src/element.lo src/ixml.lo src/ixmldebug.lo src/ixmlparser.lo src/ixmlmembuf.lo src/namedNodeMap.lo src/node.lo src/nodeList.lo pthreadVC3.lib iphlpapi.lib ws2_32.lib
libtool: link: dumpbin -symbols -headers src/.libs/attr.obj src/.libs/document.obj src/.libs/element.obj src/.libs/ixml.obj src/.libs/ixmldebug.obj src/.libs/ixmlparser.obj src/.libs/ixmlmembuf.obj src/.libs/namedNodeMap.obj src/.libs/node.obj src/.libs/nodeList.obj | gawk ' {last_section=section; section=$ 3}; /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]}; /Section length .*#relocs.*(pick any)/{hide[last_section]=1}; /^ *Symbol name *: /{split($ 0,sn,":"); si=substr(sn[2],2)}; /^ *Type *: code/{print "T",si,substr(si,length(prfx))}; /^ *Type *: data/{print "I",si,substr(si,length(prfx))}; $ 0!~/External *\|/{next}; / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next}; {if(hide[section]) next}; {f="D"}; $ 0~/\(\).*\|/{f="T"}; {split($ 0,a,/\||\r/); split(a[2],s)}; s[1]~/^[@?]/{print f,s[1],s[1]; next}; s[1]~prfx {split(s[1],t,"@"); print f,t[1],substr(t[1],length(prfx))} ' prfx=^ | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libixml.exp
libtool: link: /usr/bin/grep -E -e "^ixml.*" ".libs/libixml.exp" > ".libs/libixml.expT"
libtool: link: mv -f ".libs/libixml.expT" ".libs/libixml.exp"
libtool: link: cccl -o .libs/libixml-11.dll src/.libs/attr.obj src/.libs/document.obj src/.libs/element.obj src/.libs/ixml.obj src/.libs/ixmldebug.obj src/.libs/ixmlparser.obj src/.libs/ixmlmembuf.obj src/.libs/namedNodeMap.obj src/.libs/node.obj src/.libs/nodeList.obj -g `func_echo_all "" | /usr/bin/sed 's/ -lc$//'` -link -dll
cl "-nologo" "-Fe.libs/libixml-11.dll" "src/.libs/attr.obj" "src/.libs/document.obj" "src/.libs/element.obj" "src/.libs/ixml.obj" "src/.libs/ixmldebug.obj" "src/.libs/ixmlparser.obj" "src/.libs/ixmlmembuf.obj" "src/.libs/namedNodeMap.obj" "src/.libs/node.obj" "src/.libs/nodeList.obj" "-Zi" "ink.lib" "-dll"
LINK : fatal error LNK1104: cannot open file 'ink.lib'
I believe the arguments -link -dll
originate from here:
https://github.com/autotools-mirror/libtool/blob/544fc0e2c2a03129a540aebef41ad32bfb5c06b8/m4/libtool.m4#L5627-L5642
from cccl.
libtool should be passing /link
not -link
as it is adding options for cl not cc. However, I suspect under msys the options only work when being passed as -
not /
, so I'll make a change for cccl to handle -link' the same as it does
/link'. It does mean that it will not be possible to convert -link
into linking with the ink.lib. Unfortunate tradeoff.
from cccl.
Closed by 9634702
from cccl.
Related Issues (10)
- -m<arch> options should be mapped to /arch HOT 2
- Adjust absolute linker paths to use directory HOT 1
- README: replace / add to deprecated AM_PROG_LIBTOOL and AC_LIBTOOL_WIN32_DLL HOT 1
- MinGW/cygwin paths are passed to cl.exe as option HOT 1
- [request] Add 1.3 release tag HOT 2
- --cccl-muffle in msys/mingw requires grep -a
- Wish: Appveyor-specific documentation, example project & build HOT 3
- README: get rid of MinGW? HOT 2
- -I and -L with space do not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cccl.