Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiling TCL using VC++

6 views
Skip to first unread message

R. Bock

unread,
May 15, 1997, 3:00:00 AM5/15/97
to

Hello!
Compiling TCL8.0a2 on WinNT4.0 with Microsoft Visual C++ 4.2 worked fine
for generating object files, but then:

set LIB=c:\programme\msdev\lib
c:\programme\msdev\bin\link.exe /RELEASE /NODEFAULTLIB /RELEASE /NOLOGO
-align:0x1000 /MACHINE:IX86 -entry:_DllMainCRTStartup@12 -dll
-def:.\tcl.def -out:tcl80.dll .\tcl.res msvcrt.lib oldnames.lib
kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
winspool.lib @C:\TEMP\nma00151.
tcl.def : error LNK2001: unresolved external symbol _DllEntryPoint
tcl.def : error LNK2001: unresolved external symbol _DllMain
tcl.def : error LNK2001: unresolved external symbol
_TclAllocateFreeObjects
.....

I am not a VC++ Professional, just wanting to port my own tk/tcl
extensions written for X11 into windows.

Please help!

Thanks in advance,

Roland

Nir Levy

unread,
May 15, 1997, 3:00:00 AM5/15/97
to

Bock.

I'm not a VC++ expert either but I think you need to get the
vclibs.zip from sun to be able to compile tcl on VC++
those libes are distibuted in the same dir as the source
code on ftp.sunlabs.com/pub/tcl

/NL


"R. Bock" <rb...@physik.uni-kiel.de> saw fit to bestow on us:

---------------------------------
The above opinions are my own,
not my employer's. NL
---------------------------------

Dave LeBlanc

unread,
May 16, 1997, 3:00:00 AM5/16/97
to

No, vclibs.zip are the import libs used to link against the dll's
shipped in the binary distribution. The import libs are created during
a source build automagically.

I've had no trouble building 8.0a2 on VC4.2 ... all I did was change
the pointers to the compiler directory(s) and the install path in the
makefile.

Dave

0 new messages