How to compile Indy 10.1.6 on bcb6
Thank you for reprinting. You are also welcome to use Indy and BCB to communicate with me.
I recently downloaded Indy 10.1.6. I was pleasantly surprised to find that fullc6.bat was updated. I was excited and then ran it. Wow! Successfully generated dclindycore60.bpl, dclindyprotocols60.bpl, indycore60.bpl, indyprotocols60.bpl and other files, and started bcb6, install package... What's going on? Bcb6 prompts "this is not design time package" and thinks it's rpwt. I tried it several times, but it still doesn't work. I tried it again on another machine. It's still the same error, no way, I went to the Indy newsgroup to ask, But gambit of the newsgroup replied, "works fine for me. ", it is helpless. After careful observation, I found that it didn't even generate the Lib file, so I tried to refer to the indy9 bat and changed it again, compile and install it.-> Hey, it was installed and used, no problem found currently.
The modified fullc6.bat will be published below. Hope to be helpful to friends who use BCB and Indy!
""
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>
@ Echo off
If (% 1) = () goto test_command
If (% 1) = (start) goto start
Goto endok
: Test_command
If (% comspec %) = () goto no_command
% Comspec %/E: 9216/C % 0 start % 1% 2% 3
Goto endok
: No_command
Echo no command interpreter found
Goto endok
: Start
Call clean. bat
Computil setupc6
If exist setenv. Bat call setenv. bat
If not exist ../C6/*. * MD ../C6> NUL
If exist ../C6/*. * call clean. bat ../C6/
If (% ndc6 %) = () goto enderror
Rem *************************************** ************
Rem compile runtime package indysystem60
Rem *************************************** ************
CD System
Copy *. Pas.../../C6
Copy *. dpk.../../C6
Copy *. OBJ ../C6
Copy *. inc ../C6
Copy *. Res..././C6
Copy *. DCR.../../C6
Copy *. LSP.../../C6
CD ../C6
% Ndc6 %/bin/dcc32.exe indysystem60.dpk/o .. /objs/DBCB/M/h/W/jphn-$ D-l-N + P + r-s-t-w-y-% 2% 4
If errorlevel 1 goto enderror
% Ndc6 %/bin/dcc32.exe indysystem60.dpk/M/DBCB/o .. /objs/h/W-$ D-l-N + P + r-s-t-w-y-% 2% 3% 4
If errorlevel 1 goto enderror
../Lib/lspfix indysystem60.lsp
% Ndc6 %/bin/tlib.exe indysystem60.lib/p32 @ indysystem60.lsp
Rem *************************************** ************
Rem clean-up indycore60
Rem *************************************** ************
Rem *************************************** ************
Rem compile runtime/designtime packages indycore60
Rem *************************************** ************
CD ../lib/Core
Copy *. Pas.../../C6
Copy *. dpk.../../C6
Copy *. OBJ ../C6
Copy *. inc ../C6
Copy *. Res..././C6
Copy *. DCR.../../C6
Copy *. LSP.../../C6
CD ../C6
% Ndc6 %/bin/dcc32.exe indycore60.dpk/o .. /objs/DBCB/M/h/W/jphn-$ D-l-N + P + r-s-t-w-y-% 2% 4
If errorlevel 1 goto enderror
% Ndc6 %/bin/dcc32.exe indycore60.dpk/M/DBCB/o .. /objs/h/W-$ D-l-N + P + r-s-t-w-y-% 2% 3% 4
If errorlevel 1 goto enderror
../Lib/lspfix indycore60.lsp
% Ndc6 %/bin/tlib.exe indycore60.lib/p32 @ indycore60.lsp
% Ndc6 %/bin/dcc32.exe dclindycore60.dpk/DBCB/o .. /objs/h/W/n. /lindycore60.dcp-$ D-l-N + P + r-s-t-w-y-% 2% 3% 4
If errorlevel 1 goto enderror
Rem *************************************** ************
Rem clean-up indycore60
Rem *************************************** ************
Rem *************************************** ************
Rem compile runtime/designtime packages indyprotocols60
Rem *************************************** ************
CD ../lib/protocols
Copy *. Pas.../../C6
Copy *. dpk.../../C6
Copy *. OBJ ../C6
Copy *. inc ../C6
Copy *. Res..././C6
Copy *. DCR.../../C6
Copy *. LSP.../../C6
CD ../C6
% Ndc6 %/bin/dcc32.exe idcompressionintercept. PAS/o .. /objs/DBCB/M/h/W/jphn-$ D-l-N + P + r-s-t-w-y-% 2% 4
% Ndc6 %/bin/dcc32.exe iddummyunit. PAS/lindy60.dcp/DBCB/o .. /objs/M/h/W/jphn-$ D-l-N + P + r-s-t-w-y-% 2% 3% 4
If errorlevel 1 goto enderror
Del iddummyunit. DCU> NUL
Del iddummyunit. HPP> NUL
Del iddummyunit. OBJ> NUL
% Ndc6 %/bin/dcc32.exe indyprotocols60.dpk/o .. /objs/DBCB/M/h/W/jphn-$ D-l-N + P + r-s-t-w-y-% 2% 4
If errorlevel 1 goto enderror
% Ndc6 %/bin/dcc32.exe indyprotocols60.dpk/M/DBCB/o .. /objs/h/W-$ D-l-N + P + r-s-t-w-y-% 2% 3% 4
If errorlevel 1 goto enderror
../Lib/lspfix indyprotocols60.lsp
% Ndc6 %/bin/tlib.exe indyprotocols60.lib/p32 @ indyprotocols60.lsp
% Ndc6 %/bin/dcc32.exe dclindyprotocols60.dpk/DBCB/o .. /lib/protocols/objs/h/W/n. /lindyprotocols60.dcp-$ D-l-N + P + r-s-t-w-y-% 2% 3% 4
If errorlevel 1 goto enderror
Rem *************************************** ************
Rem clean-up indyprotocols60
Rem *************************************** ************
Rem del *. DCU> NUL
Del *. Pas> NUL
Del *. dpk> NUL
Rem del *. OBJ> NUL
Del *. inc> NUL
Rem del *. Res> NUL
Del *. DCR> NUL
Del *. LSP> NUL
CD ../lib
Goto endok
: Enderror
Call ../lib/clean. bat
CD ../lib
Echo error!
: Endok
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>
""