Skip to content
Tcl Source Code Artifact [e37c6555a7]
Login

Artifact [e37c6555a7]

Artifact e37c6555a713351c8221cd9ab5ef12ceef1d72e3:

Ticket change [e37c6555a7] - New ticket [448ba5cbfda349b1|448ba5cbfd] <i>MINGW build fails for 32bit on 64bit system</i>. by anonymous on 2015-07-10 08:16:41.
D 2015-07-10T08:16:41.648
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I\sam\sbuilding\sTcl\susing\sMSYS2\sand\sthe\sTDM-GCC\scompiler.\sThis\sworks\sfor\s64\sbit,\sif\sadditionally\s--enable-64bit\sis\spassed,\sor\sfor\sthe\sstatic\sbuild.\sWith\sthis\sgcc\sversion,\sit\sis\salso\spossible\sto\sbuild\s32\sbit\sby\spassing\s\r\n\r\nCFLAGS="-m32"\sLDFLAGS="-m32"\r\n\r\nto\sthe\sconfigure\sscript,\sbut\sit\sfails\sfor\stwo\sreasons.\s\r\n1.\sLinking\sto\sthe\sprecompiled\szlib\sdoes\snot\swork\r\nThis\scan\sbe\scircumvented\sby\shacking\sthe\sconfigure\sscript\sto\salways\sbuild\szlib\s(ZLIB_OBJ\sinstead\sof\sZLIB_DLL)\r\n\r\n2.\sthe\sresource\scompiler\screates\s64bit\sobjects.\s\r\nThis\scan\sbe\ssolved\sby\spassing\s--output-format=coff\s--target=pe-i386\sto\swindres.\sBut\sthe\sconfigure\sscript\sor\sMakefile\sdoesn't\shonour\sRCFLAGS,\sso\sit\sis\simpossible\sto\sdo\sthat\swithout\shacking\sthe\sMakefile\r\n\r\nSUggested\ssolution:\s1.\sAlways\sbuild\sthe\szlib\sobjects.\sWhy\sdoes\sthe\sbuild\ssystem\stry\sto\slink\swith\sprecompiled\sbinaries?\sThat\swould\ssolve\sboth\szlib\sissues.\s\r\n2.\sInsert\sRCFLAGS\sinto\sconfigure.in\sand\sMakefile.in
J foundin 8.6.4
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 2caf797de13248fb0c6ec498502ae2197d48be0f
J resolution None
J severity Critical
J status Open
J submitter anonymous
J subsystem 53.\sConfigure\sand\sBuild\sTools
J title MINGW\sbuild\sfails\sfor\s32bit\son\s64bit\ssystem
J type Bug
K 448ba5cbfda349b1e71b5193a50f746c84641410
U anonymous
Z d443cbdd4560c9b03babfa1dd6a31603