Skip to content
Tcl Source Code View Ticket
Login

View Ticket

nmake install doesn't work when OPTS=nothreads

Closed / Rejectede2c09cd3897e5cfbc89bd453510d6017fbaf5eb0Created 11 years agoUpdated 10 years ago
Descriptionplain2016-03-22 07:53:20
The two commands below are run from "C:\Sources\tcl\win",
using the "VS2015 x64 Native Tools Command Prompt".

nmake -f makefile.vc release OPTS=nothreads
nmake -f makefile.vc install INSTALLDIR=C:\Sources\tcl\program

The error is:
Installing tcl87t.dll
File not found - tcl87t.dll
NMAKE : fatal error U1077: 'xcopy' : return code '0x4'
anonymous Ticket [e2c09cd389]: 3 changes [History diff]2016-03-22 07:56:09
dkf Ticket [e2c09cd389]: 3 changes [History diff]2016-09-01 16:13:48
oehharwiki2016-09-02 08:33:01

I tested with 8.6.6. The issue is a usage error. The option "nothreads" must also be given to the install command to make this work:

nmake -f makefile.vc release OPTS=nothreads
nmake -f makefile.vc install OPTS=nothreads INSTALLDIR=C:\Sources\tcl\program

Additional logic may be included to not build the tread package in this case. But the thread package source may also be deleted before running the compile.

Closing the bug.

oehhar Closed ticket [e2c09cd389]. [History diff]2016-09-02 08:33:18
Log in (anonymous is fine) to add a comment.