| View previous topic :: View next topic |
| Author |
Message |
daver Guest
|
Posted: Thu Dec 08, 2005 10:41 pm Post subject: problems with mtbcc32 using bcc32pch |
|
|
I am trying this combo but I keep getting
"Incorrect command line option: -compilerprogram"
My bcc32 replacement option is
mtbcc32 -threads3
I downloaded the most recent versions today.
Dave
|
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Thu Dec 08, 2005 10:55 pm Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
daver wrote:
| Quote: | "Incorrect command line option: -compilerprogram"
|
Yeah, bcc32pch is trying to get mtbcc32 to use bcc32ide, I think. I'll sort
this out right now.
Thanks.
Jonathan
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Thu Dec 08, 2005 11:04 pm Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Jonathan Benedicto wrote:
| Quote: | Yeah, bcc32pch is trying to get mtbcc32 to use bcc32ide, I think. I'll
sort this out right now.
|
It works on with the copy of mtbcc32 that I have.
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Thu Dec 08, 2005 11:08 pm Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Andreas Hausladen wrote:
| Quote: | It works on with the copy of mtbcc32 that I have.
|
That must be the old version. I've sent you a special version for bcc32ide.
Jonathan
|
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Fri Dec 09, 2005 3:47 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
daver wrote:
| Quote: | "Incorrect command line option: -compilerprogram"
|
Can you download Twine again, and instead of using mtbcc32, use
mtbcc32ide.exe. This should fix it.
http://www.jomitech.com/mtbcc32.shtml
Jonathan
|
|
| Back to top |
|
 |
Zach Saw Guest
|
Posted: Fri Dec 09, 2005 8:47 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Hi Jonathan,
I find mtbcc32 (2 threads) slower than the default bcc32PCH in every project
I've tried. In fact, the fastest is without using bcc32PCH's replacement
compiler (i.e. just the IDE compiler speed up fix), followed by bcc32pch
with replacement compiler, and mtbcc32.
This is using a HT machine.
Is this trend expected?
Thanks,
Zach
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Fri Dec 09, 2005 9:43 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Zach Saw wrote:
| Quote: | Is this trend expected?
|
No. That bcc32pch has it's power in the precompiled header support.
For a project that I compile (56 files) I get the following values:
patched IDE (from bcc32pch): 12.36
compiler replacement: 11.99
bcc32pch with mtbcc32: 11.17
So the speed difference is not that visible. (compile-times are from
second compile, the first is always slower because Windows's file cache
must be filled)
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Zach Saw Guest
|
Posted: Fri Dec 09, 2005 9:55 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
| Quote: | patched IDE (from bcc32pch): 12.36
compiler replacement: 11.99
bcc32pch with mtbcc32: 11.17
So the speed difference is not that visible. (compile-times are from
second compile, the first is always slower because Windows's file cache
must be filled)
|
That's weird -- on this machine it's the exact opposite.
What's the difference between the precompiled header support from bcc32pch
and the original one from IDE?
Thanks,
Zach
|
|
| Back to top |
|
 |
Zach Saw Guest
|
Posted: Fri Dec 09, 2005 10:14 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
| Quote: | What's the difference between the precompiled header support from bcc32pch
and the original one from IDE?
|
Ok forget the question <g>
What I meant to ask was -- what's the difference between the replacement
compiler and the IDE one? Besides the fact that one uses the dll and the
other invokes the exe...
|
|
| Back to top |
|
 |
Hendrik Schober Guest
|
Posted: Fri Dec 09, 2005 10:43 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Jonathan Benedicto <incorrect (AT) no (DOT) server> wrote:
| Quote: | daver wrote:
"Incorrect command line option: -compilerprogram"
Can you download Twine again, and instead of using mtbcc32, use
mtbcc32ide.exe. This should fix it.
http://www.jomitech.com/mtbcc32.shtml
|
Try to load that page in firefox. (I use
1.0.7)
Schobi
--
[email]SpamTrap (AT) gmx (DOT) de[/email] is never read
I'm Schobi at suespammers dot org
"If you put a large switch in some cave somewhere, with a sign
on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH',
the paint wouldn't even have time to dry."
Terry Pratchett
|
|
| Back to top |
|
 |
Alan Bellingham Guest
|
Posted: Fri Dec 09, 2005 10:49 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
"Hendrik Schober" <SpamTrap (AT) gmx (DOT) de> wrote:
Firefox 1.5 is also a bit broken on that page.
It looks fine under Opera (latest), BTW.
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Fri Dec 09, 2005 10:57 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Zach Saw wrote:
| Quote: | What I meant to ask was -- what's the difference between the replacement
compiler and the IDE one?
|
Only the "Force Includes" option and some other options like "-automake,
-autolib" but that are options you only need at command line.
| Quote: | Besides the fact that one uses the dll and the
other invokes the exe...
|
The replacement compiler is a new process (has it's own 4 GB address
space) but it also uses the dll.
I played with buffered streams but they were only faster when run in a
debugger. At commandline they were show stoppers.
The next thing I'll try is to keep smaller header files in memory.
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Zach Saw Guest
|
Posted: Fri Dec 09, 2005 11:01 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
| Quote: | The replacement compiler is a new process (has it's own 4 GB address
space) but it also uses the dll.
I played with buffered streams but they were only faster when run in a
debugger. At commandline they were show stoppers.
The next thing I'll try is to keep smaller header files in memory.
|
Can I force it to use bcc32.exe instead?
Thanks,
Zach
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Fri Dec 09, 2005 11:29 am Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Zach Saw wrote:
| Quote: | Can I force it to use bcc32.exe instead?
|
The old bcc32pch used bcc32pch.exe+bcc32pchHook.dll+bcc32.exe. I do not
see any speed improvement in using bcc32.exe. Actually bcc32ide.exe is a
little bit faster than bcc32.exe if it does not communicate with the IDE
plugin.
BTW: I'll soon release the source code of the bcc32pch Plugin (but not for
bcc32ide).
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Fri Dec 09, 2005 1:54 pm Post subject: Re: problems with mtbcc32 using bcc32pch |
|
|
Zach Saw wrote:
| Quote: | I find mtbcc32 (2 threads) slower than the default bcc32PCH in every
project I've tried. In fact, the fastest is without using bcc32PCH's
replacement compiler (i.e. just the IDE compiler speed up fix),
followed by bcc32pch with replacement compiler, and mtbcc32.
This is using a HT machine.
Is this trend expected?
|
No definitely not. Because you are on a HT, though this won't speed you up,
I'd suggest using 3 threads. mtbcc32 has always shown to be faster even on
HTs. What happens when you command line build using mtbcc32 ?
Jonathan
|
|
| Back to top |
|
 |
|