 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Eduardo Jauch Guest
|
Posted: Wed Feb 07, 2007 4:59 am Post subject: Ind 10, dcc32 options |
|
|
Hi!
How to compile indy 10 to BCB 6?
What DPK should I use? terminating with 60? 70?
And MORE important...
Using dcc32, WHAT options i must set?
Thanks  |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Feb 07, 2007 5:38 am Post subject: Re: Ind 10, dcc32 options |
|
|
"Eduardo Jauch" <eduardo.jauch (AT) gmail (DOT) com> wrote in message
news:45c904ce$1 (AT) newsgroups (DOT) borland.com...
| Quote: | How to compile indy 10 to BCB 6?
|
By using the FULLC6.BAT script that is included in the Insy 10
snapshot.
Gambit |
|
| Back to top |
|
 |
C.R. Hinners Guest
|
Posted: Wed Feb 07, 2007 5:59 am Post subject: Re: Ind 10, dcc32 options |
|
|
Eduardo Jauch wrote:
| Quote: | Hi!
How to compile indy 10 to BCB 6?
|
My experience:
1) Go to Indy's web site.
2) Five pages off the home page, find the installations for Indy10 and
determine that they only apply to Delphi and make zero sense for BCB.
3) Ponder why the instructions say that they are "for BCB" when they
obviously aren't.
4) Observe that the link to the "source code" is "not really recommended".
5) Ponder what the difference between "not recommended" and "not really
recommended" is.
6) See a link to the development snapshot.
7) Ponder why, if "development snapshot" is source code, too, why the
one link is called "source code" which logically means that the
"development snapshot" is something other than "source code".
Wonder why the links to the "development snapshots" aren't even on
Indy's own site.
9) Determine that one of the two sites where you can get the
"development snapshot" doesn't work.
10) Figure out that the FTP link to the one remaining site doesn't work.
11) Download the source from the HTTP link to the one remaining site.
12) Search newsgroups to find out how to install.
13) Figure out that you have to run \Lib\FullC6.bat.
14) Oops, that doesn't work. Search newsgroups again.
15) Figure out that I should have compiled computil.dpr first.
16) Compile computil.dpr.
17) Run \Lib\FullC6.bat again.
1 Wonder why a bunch of files named "null" appear in all of the source
folders. Since zero explanation is given for them, hope that they don't
mean something went wrong.
19) Wonder what the messages about not finding *.dcu, *.dcp, and
compile_run mean. Hope that they don't mean something went wrong.
20) Search for the BPLs. Find them in \C6.
21) Discover that there are no HPPs, OBJs, or LIBs.
22) Search the newsgroups again.
23) Find out that there is a switch for dcc32 (-jph) that outputs OBJs
and HPPs.
24) Notice that something similar to this switch (-jphn) was used in the
batch file for Indy9.
25) Wonder why it was not used in the batch file for Indy10.
26) Run "dcc32 /?" and see that "-jph" is not even documented.
27) Decide to try it anyway.
2 Run "dcc32 -jph IndyCore60.dpk".
29) That doesn't work.
30) Figure out that you need to include files in the \System folder.
31) Run "dcc32 -jph -u..\System IndyCore60.dpk".
32) Encounter multiple errors for IdIPAddress.pas (unsupported language
feature, property of array type) and IdReply.pas (unsatisfied forward or
external declaration: TIdReply.SetFormattedReply &
TIdReply.RaiseReplyError).
33) Observe that, apparently because of the above errors, only some HPPs
generated.
34) Observe that all OBJs were generated.
35) Run "dcc32 -jph IndySystem60.dpk".
36) Observe that all HPPs and OBJs are generated.
37) Start BCB.
3 Add the design-time BPLs to the IDE.
39) Try to add them to a form.
40) Compile and link.
41) Observe that link fails.
42) Manually add OBJs to project.
43) Finally get it to complile. |
|
| Back to top |
|
 |
Rod Guest
|
Posted: Sun Feb 18, 2007 5:34 pm Post subject: Re: Ind 10, dcc32 options |
|
|
"C.R. Hinners" <chinners (AT) ReplyToNewsgroupPlease (DOT) invalid> wrote:
C.R. I encountered a similiar difficulty.
I solved it by ..... just giving up on the thing.
I can't imagine why installing these components could be so difficult, given that BCB has numerous
other components which install fairly easily.
Regards,
:>Eduardo Jauch wrote:
:>> Hi!
:>> How to compile indy 10 to BCB 6?
:>
:>My experience:
:>
:>1) Go to Indy's web site.
:>2) Five pages off the home page, find the installations for Indy10 and
:>determine that they only apply to Delphi and make zero sense for BCB.
:>3) Ponder why the instructions say that they are "for BCB" when they
:>obviously aren't.
:>4) Observe that the link to the "source code" is "not really recommended".
:>5) Ponder what the difference between "not recommended" and "not really
:>recommended" is.
:>6) See a link to the development snapshot.
:>7) Ponder why, if "development snapshot" is source code, too, why the
:>one link is called "source code" which logically means that the
:>"development snapshot" is something other than "source code".
:> Wonder why the links to the "development snapshots" aren't even on
:>Indy's own site.
:>9) Determine that one of the two sites where you can get the
:>"development snapshot" doesn't work.
:>10) Figure out that the FTP link to the one remaining site doesn't work.
:>11) Download the source from the HTTP link to the one remaining site.
:>12) Search newsgroups to find out how to install.
:>13) Figure out that you have to run \Lib\FullC6.bat.
:>14) Oops, that doesn't work. Search newsgroups again.
:>15) Figure out that I should have compiled computil.dpr first.
:>16) Compile computil.dpr.
:>17) Run \Lib\FullC6.bat again.
:>1 Wonder why a bunch of files named "null" appear in all of the source
:>folders. Since zero explanation is given for them, hope that they don't
:>mean something went wrong.
:>19) Wonder what the messages about not finding *.dcu, *.dcp, and
:>compile_run mean. Hope that they don't mean something went wrong.
:>20) Search for the BPLs. Find them in \C6.
:>21) Discover that there are no HPPs, OBJs, or LIBs.
:>22) Search the newsgroups again.
:>23) Find out that there is a switch for dcc32 (-jph) that outputs OBJs
:>and HPPs.
:>24) Notice that something similar to this switch (-jphn) was used in the
:>batch file for Indy9.
:>25) Wonder why it was not used in the batch file for Indy10.
:>26) Run "dcc32 /?" and see that "-jph" is not even documented.
:>27) Decide to try it anyway.
:>2 Run "dcc32 -jph IndyCore60.dpk".
:>29) That doesn't work.
:>30) Figure out that you need to include files in the \System folder.
:>31) Run "dcc32 -jph -u..\System IndyCore60.dpk".
:>32) Encounter multiple errors for IdIPAddress.pas (unsupported language
:>feature, property of array type) and IdReply.pas (unsatisfied forward or
:>external declaration: TIdReply.SetFormattedReply &
:>TIdReply.RaiseReplyError).
:>33) Observe that, apparently because of the above errors, only some HPPs
:>generated.
:>34) Observe that all OBJs were generated.
:>35) Run "dcc32 -jph IndySystem60.dpk".
:>36) Observe that all HPPs and OBJs are generated.
:>37) Start BCB.
:>3 Add the design-time BPLs to the IDE.
:>39) Try to add them to a form.
:>40) Compile and link.
:>41) Observe that link fails.
:>42) Manually add OBJs to project.
:>43) Finally get it to complile.
-- Rod
Please note that, due to time differences etc, it might be 24hrs before I
get back to this group so please consider yourselves thanked for any help
you may be able to provide. |
|
| Back to top |
|
 |
Frank Burleigh Guest
|
Posted: Mon Feb 19, 2007 3:37 am Post subject: Re: Ind 10, dcc32 options |
|
|
Rod wrote:
| Quote: | "C.R. Hinners" <chinners (AT) ReplyToNewsgroupPlease (DOT) invalid> wrote:
C.R. I encountered a similiar difficulty.
I solved it by ..... just giving up on the thing.
I can't imagine why installing these components could be so difficult, given that BCB has numerous
other components which install fairly easily.
Regards,
:>Eduardo Jauch wrote:
:>> Hi!
:>> How to compile indy 10 to BCB 6?
:
:>My experience:
|
[snipped C. R.'s experience; I largely agree.]
I think the technical problem with Indy 9 and BCB (any version) is that
there's no modern build system in place. It wasn't until I reviewed the
build system for Raize Components that I learned that not only could the
Delphi compiler make HPP and OBJ files, but it can also make either a
TLIB response file (-j) or even the LIB itself (-jl). |
|
| Back to top |
|
 |
Eduardo Jauch Guest
|
Posted: Mon Feb 19, 2007 5:28 pm Post subject: Re: Ind 10, dcc32 options |
|
|
| Quote: | I think the technical problem with Indy 9 and BCB (any version) is that
there's no modern build system in place. It wasn't until I reviewed the
build system for Raize Components that I learned that not only could the
Delphi compiler make HPP and OBJ files, but it can also make either a
TLIB response file (-j) or even the LIB itself (-jl).
|
Well...
I give up...
I tried to install, to compile, etc, etc, etc...
Even when ALL seens to be ok, I got some type of error trying to use...
Both indy9 and indy10.
I think that indy must be really greate! But i can't spend more time (I
spend 3 weeks trying to do it working properly...).
I find a small component "winhttp", that is exactly what I need...
Similar to the http component of Indy.
Now my app is working fine (free of TCppWebBrowser... rsrsrsr)
When I have some time free I'll try again to install it.
Because the FULLC6.BAT really DON'T work on my computer.
Thanks for the tips anyway  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|