天天看點

vs2008 編譯 tcl

http://www.tcl.tk/ 下載下傳

------ 已啟動全部重新生成: 項目: tcl, 配置: Debug Win32 ------

正在執行生成檔案項目操作

===============================================================================

nul

*** Compiler has 'Optimizations'

nul

nul

cl: 指令行 warning D9002 :忽略未知選項“-Op”

nul

nul

nul

nul

nul

nul

cl: 指令行 warning D9002 :忽略未知選項“-YX”

nul

nul

cl: 指令行 warning D9002 :忽略未知選項“-QI0f”

nul

*** Compiler has 'Pentium 0x0f fix'

LINK : warning LNK4224: 不再支援 /OPT:NOWIN98;已忽略

LINK : warning LNK4001: 未指定對象檔案;已使用庫

LINK : warning LNK4068: 未指定 /MACHINE;預設設定為 X86

LINK : fatal error LNK1561: 必須定義入口點

*** Linker has 'Win98 alignment problem'

LINK : warning LNK4001: 未指定對象檔案;已使用庫

LINK : warning LNK4068: 未指定 /MACHINE;預設設定為 X86

LINK : fatal error LNK1561: 必須定義入口點

打開 tcl/win/buildall.vc.bat

修改

if not defined MSDevDir (

    call "D:/Program Files/Microsoft Visual Studio 9.0/Common7/Tools/vsvars32.bat"

然後 執行此bat

居然提示沒有hcrtf.exe

然後去下載下傳了Help Workshop

安裝後将hcrtf.exe等一堆檔案 copy到tcl8.5.5/win/Release_VC9/tcl_docs裡,

編譯出TCL85.HLP

再次執行buildall.vc.bat

呵呵,搞定