Artifacts Associated With Ticket e6b231ea5d667ae1f973aeaa7d64f79be1155efa
Ticket change [530eb55de8] (rid 1445) by anonymous on 2012-11-15 01:15:40:
- comment initialized to:
in kitsh's Makefile.tclkit.in, the use of $ARCHS in the final link stage produces an executable which windows complains about - it says it can't find the libreg13.dll file on the system. Same for libdde. This comprehensively prevents kitcreator cross-compiling for my system.<div><br /></div><div>I have found that preventing these static linkages removes the error.</div><div><br /></div><div>I suggest that either the aclocal.m4 macros which generate ARCHS are too-inclusive, or the static build of libreg etc is somehow wrong.</div><div><br /></div><div>Colin</div><div><br /></div>
- private_contact initialized to: "5fc5e972c33194840d812dceaa267241ac9348a2"
- severity initialized to: "Critical"
- status initialized to: "Open"
- title initialized to:
Windows x-compilation - inclusion of static libreg.a breaks .exe
- type initialized to: "Code Defect"
- comment initialized to:
Ticket change [98887f9a1f] (rid 1447) by anonymous on 2012-11-15 23:40:37:
- Appended to comment:
<hr /><i>anonymous added on 2012-11-15 23:40:37 UTC:</i><br /> The following (non-minimal!) patch fixes/avoids the problem by simply removing the offending .a files from contention. Not sure this is really solving the problem, or merely masking a different problem. diff -r KitCreator-b5d7ffb774c9b216/kitsh/buildsrc/kitsh-0.0/aclocal.m4 Hunter-KitCreate/Ki\ tCreator/kitsh/buildsrc/kitsh-0.0/aclocal.m4 193,194c193,194 < projlibfiles="`find "${projlibdir}" -name '*.a' 2>/dev/null | tr "\n" ' '`" < projlibfilesnostub="`find "${projlibdir}" -name '*.a' 2>/dev/null | grep -v\ 'stub' | tr "\n" ' '`" --- > projlibfiles="`find "${projlibdir}" -name '*.a' 2>/dev/null | grep -v libtc\ lreg | grep -v libtcldde | tr "\n" ' '`" > projlibfilesnostub="`find "${projlibdir}" -name '*.a' 2>/dev/null | grep -v\ 'stub' | grep -v libtclreg | grep -v libtcldde | tr "\n" ' '`" 283a284 > AC_MSG_WARN([adding to ARCHS branch ${proj} - ${ARCHS}]) 476c477 < --- > TESTER=1 479a481 > TESTER=0
- priority changed to: "Immediate"
- resolution changed to: "Open"
- subsystem changed to: "Tcl"
- Appended to comment: