Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Compiling Tcl using Visual C++ 4.0 failed

Closed / Fixed218774ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:12
OriginalBugID: 2087 Bug
Version: 8.1
SubmitDate: '1999-05-17'
LastModified: '1999-11-07'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: All Windows
FixedDate: '1999-11-07'
FixedInVersion: NA
ClosedDate: '2000-10-25'


>The readme file for the tcl8.1 source indicates
>a requirement for an Visual C++ compiler.
>It says...
>
>>2. Compiling Tcl
>>----------------
>>
>>In order to compile Tcl for Windows, you need the following items:
>>
>>    Tcl 8.1 Source Distribution (plus any patches)
>>
>>    Visual C++ 2.x/4.x/5.x
>>
>>In practice, the 8.1 release is built with Visual C++ 5.0
>
>When running the 4.0 compiler I get...
>
>"E:\user\mvc\bin\cl.exe" -DBUILD_tcl -O2 -Gs -GD -c -W3 -nologo -YX
-Fp.\Release >-Dtry=__try -Dexcept=__except -D_X86_=1 -DWIN32 -D_WIN32 -MD
-I"E:\user\mvc\include"
>-I..\win -I..\generic -D__WIN32__   -Fo.\Release\ ..\generic\regcomp.c
>The filename, directory name, or volume label syntax is incorrect.
>NMAKE : fatal error U1077: '"E:\user\mvc\bin\cl.exe"' : return code '0x1'
>Stop.
>
>...But if I redirect...
>
>nmake /N -f makefile.vc > domake.bat
>
>...And run the batch file, things run much better. When I figure out why,
I'll
>let you know.
>
>--JPK
>

Probably the same problem that VC6 has, the Release or Debug directories are not getting created automatically by the compiler, and the makefile.vc does not have targets for them.

-- 05/26/1999 redman

These problems have been fixed with 8.2, where the makefile.vc
has been revamped, but an emphasis on a Unix style autoconf/make
process is added. 
-- 11/07/1999 hobbs
welch Closed ticket [218774ffff]. [History diff]2000-10-26 08:28:15
dgp Ticket [218774ffff]: 3 changes [History diff]2001-04-05 06:54:25
Log in (anonymous is fine) to add a comment.