🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1017

Re: Installing Indy 10 for C++ 2006

#1017
From: RH
Date: Tue, 26 Jun 2007 09:13
210 lines
7580 bytes
Martin wrote:
> Is there anybody out there who has the latest indy 10 version running under 
> C++ Builder 2006, because i dont believe that it is possible to install at 
> the moment!
> Maybe it is an issue of the current development snapshot.
> 
> It would be better for all developers if there would be an improved support 
> for installation procedure instead of developing new indy features.
> 
> Best regards
> Martin 
> 
> 

Hi Martin

I posted the following up in the atozedsoftware.indy.general a while 
back.  It should work with the latest snapshot of Indy 10.

Make sure you remove any trace of older Indy 10 files that may be in 
your path before installing the core and protocols packages into the IDE.

Copy the following and paste it to a batch file, and remember to modify 
the Computil.dpr accordingly (you need to add NDC10 and SetupC10 to it).


RH

REM ******************** START OF Fullc10.bat FILE ***************
@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 SetupC10
if exist setenv.bat call setenv.bat
if not exist ..\C10\*.* md ..\C10 >nul
if exist ..\C10\*.* call clean.bat ..\C10\
if (%NDC10%)==() goto enderror

REM ***************************************************
REM Compile Runtime Package IndySystem10
REM ***************************************************
cd System
copy *.pas ..\..\C10
copy *.dpk ..\..\C10
copy *.obj ..\..\C10
copy *.inc ..\..\C10
copy *.res ..\..\C10
copy *.dcr ..\..\C10
copy *.rsp ..\..\C10
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C10
%NDC10%\bin\dcc32.exe IndySystem100.dpk /O..\Lib\System\objs /DBCB /M /H 
/W /JPHNE /JL /N. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe IndySystem100.dpk /O..\Lib\System\objs /DBCB 
/M /H /W /N. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe IndySystem100.lib +%%f 
/P64 > nul

REM ***************************************************
REM Clean-up IndySystem100
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul

REM ***************************************************
REM Compile Runtime Package IndyCore60
REM ***************************************************
cd ..\Lib\Core
copy *.pas ..\..\C10
copy *.dpk ..\..\C10
copy *.obj ..\..\C10
copy *.inc ..\..\C10
copy *.res ..\..\C10
copy *.dcr ..\..\C10
copy *.rsp ..\..\C10
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C10
%NDC10%\bin\dcc32.exe IndyCore100.dpk /O..\Lib\Core\objs /DBCB /M /H /W 
/JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe IndyCore100.dpk /O..\Lib\Core\objs /DBCB /M /H 
/W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe IndyCore100.lib +%%f /P64 
 > nul
del *.obj > nul

REM ***************************************************
REM Compile Designtime Package dclIndyCore100
REM ***************************************************
%NDC10%\bin\dcc32.exe dclIndyCore100.dpk /O..\Lib\Core\objs /DBCB /M /H 
/W /Z /JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe dclIndyCore100.dpk /O..\Lib\Core\objs /DBCB /M 
/H /W /Z /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe dclIndyCore100.lib +%%f 
/P64 > nul

REM ***************************************************
REM Clean-up IndyCore60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul

REM ***************************************************
REM Compile Runtime Package IndyProtocols100
REM ***************************************************
cd ..\Lib\Protocols
copy *.pas ..\..\C10
copy *.dpk ..\..\C10
copy *.obj ..\..\C10
copy *.inc ..\..\C10
copy *.res ..\..\C10
copy *.dcr ..\..\C10
copy *.rsp ..\..\C10
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C10
%NDC10%\bin\dcc32.exe IndyProtocols100.dpk /O..\Lib\Protocols\objs /DBCB 
/M /H /W /JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe IndyProtocols100.dpk /O..\Lib\Protocols\objs 
/DBCB /M /H /W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror

REM ***************************************************
REM Delete third-party .obj files
REM before compiling the .lib file
REM ***************************************************
del adler32.obj > nul
del compress.obj > nul
del crc32.obj > nul
del deflate.obj > nul
del example.obj > nul
del gzio.obj > nul
del infback.obj > nul
del inffast.obj > nul
del inflate.obj > nul
del inftrees.obj > nul
del minigzip.obj > nul
del trees.obj > nul
del uncompr.obj > nul
del zutil.obj > nul

REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe IndyProtocols100.lib +%%f 
/P64 > nul
del *.obj > nul

REM ***************************************************
REM Compile Designtime Package dclIndyProtocols100
REM ***************************************************
%NDC10%\bin\dcc32.exe dclIndyProtocols100.dpk /O..\Lib\Protocols\objs 
/DBCB /M /H /W /JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe dclIndyProtocols100.dpk 
/O..\Lib\Protocols\objs /DBCB /M /H /W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe dclIndyProtocols100.lib 
+%%f /P64 > nul

REM ***************************************************
REM Clean-up IndyProtocols60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul
cd ..\Lib
goto endok

:enderror
call ..\Lib\clean.bat
cd ..\Lib
echo Error!

:endok

REM ******************** END OF FullC10.bat FILE ***********************
Technical Details
Message-ID: <4680d8bf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4674215b@newsgroups.borland.com> <46742687$1@newsgroups.borland.com> <46745245@newsgroups.borland.com> <46746ad9$1@newsgroups.borland.com> <46783894$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ec895ff382bc10f5
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 26 Jun 2007 19:13:42 +1000
From: RH <askme@for.it>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Installing Indy 10 for C++ 2006
References: <4674215b@newsgroups.borland.com> <46742687$1@newsgroups.borland.com> <46745245@newsgroups.borland.com> <46746ad9$1@newsgroups.borland.com> <46783894$1@newsgroups.borland.com>
In-Reply-To: <46783894$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 210.84.51.243
Message-ID: <4680d8bf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182849215 210.84.51.243 (26 Jun 2007 02:13:35 -0700)
Lines: 210
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 7435