Skip to content
Tcl Source Code View Ticket
Login

View Ticket

mingw build from chocolatey or git-bash+make+mingw is broken

Closed / Fixed40d5ff2a0ee78099c666aa71c3470ae24c49ab2eCreated 7 years agoUpdated 7 years ago
Descriptionwiki2019-08-19 18:15:10
(GNU)make using mingw without msys toolchain (with cygpath?), e. g. build from chocolatey or from git-bash + make + mingw fails with:
mingw32-make: *** No rule to make target 'tclStubLib.c', needed by 'tclStubLib.o'.  Stop.
child process exited abnormally
No rule to make target 'tclStubLib.c', needed by 'tclStubLib.o'
Make from mingw+msys works fine (so default toolchain seems to be not affected).

It looks like VPATH seems to be broken in this case. Fixing (WiP).

Referenced by4
  • d1d2641811merge 8.7: fixes [40d5ff2a0e], etc check-in2019-08-19 19:29:55
  • ea8a79173fmerge 8.6: conflicts resolved, fix mingw build, closes [40d5ff2a0e], etc check-in2019-08-19 19:12:40
  • f2dee93aa1merge 8.5: restore merge point, fix mingw build, closes [40d5ff2a0e], etc check-in2019-08-19 18:58:21
  • 09dae07f92win/Makefile.in: partially cherry-picked 8.6th version (and normalized to be more similar to all major versions now), fixed VPATH (TOP_DIR/ROOT_DIR) compiling from chocolatey or git-bash (closes [40d5ff2a0e]), added tcltest-helpers, etc. check-in2019-08-19 18:34:44
sebres Ticket [40d5ff2a0e]: 3 changes [History diff]2019-08-19 18:15:19
sebreswiki2019-08-19 19:22:00

Fixed in all major branches (starting with [09dae07f92] for 8.5 and [f2dee93aa1] 8.6), thus close.

I have partially cherry-picked it from my github-branches (travis repairing attempts directly from github)... and I'll continue with mingw builds here (and tests) later, once my other fixes get ready for 8.5/8.6 branches.

jan.nijtmansplain2019-08-20 07:21:31
Thanks for this. Good work!

Just one remark: See [01e90e520f786319] (already fixed in all branches)

👍
Log in (anonymous is fine) to add a comment.