| View previous topic :: View next topic |
| Author |
Message |
Des O'Toole Guest
|
Posted: Thu Dec 16, 2004 11:41 am Post subject: Re: BCB 5 compilation speed |
|
|
"Jonathan Neve" <jonathan@!nospam!microtec.fr> wrote
| Quote: | Des O'Toole wrote:
I looked into this a few years back (the delay stopped me from upgrading
to BCB5). I discovered some interesting facts about the problem, but
ultimately no magic solution. I've since upgraded to BCB6 and the only
way to get close to the compilation speed of BCB3 is to compile from a
makefile. It's not as user friendly as compiling from the IDE, but it
compiles our project 5-10 times faster.
Interesting. Sorry for my ignorance, but... how does that work exactly?
|
Personally,I prefer to make/build via a .bat file eg.
********** makeproject.bat ****************
title Compiling
del %1.mak
del %1.exe
bpr2mak %1.mak %1.bpr
make -a %2 %3 -f%1
title Finished
***************************************
I then setup 2 shortcuts under my tools menu for making and building
Build:- makeproject ProjectName -B
Make:- makeproject ProjectName
Don't forget that all files must be saved to disk before you make/build
(including any project options)
Des
|
|
| Back to top |
|
 |
vavan Guest
|
Posted: Thu Dec 16, 2004 12:13 pm Post subject: Re: BCB 5 compilation speed |
|
|
On Thu, 16 Dec 2004 11:41:52 -0000, "Des O'Toole" <des> wrote:
| Quote: | Don't forget that all files must be saved to disk before you make/build
(including any project options)
|
IIRC there was some macro (smth like $SAVEALL) allowing to save the
current project automatically before invoking external tool...
--
Vladimir Ulchenko aka vavan
|
|
| Back to top |
|
 |
vavan Guest
|
Posted: Thu Dec 16, 2004 12:22 pm Post subject: Re: BCB 5 compilation speed |
|
|
On Thu, 16 Dec 2004 11:41:52 -0000, "Des O'Toole" <des> wrote:
| Quote: | ********** makeproject.bat ****************
title Compiling
del %1.mak
del %1.exe
bpr2mak %1.mak %1.bpr
|
perhaps inserting here call to fixmake will improve the ability to
build the project in some cases :)
| Quote: | make -a %2 %3 -f%1
title Finished
***************************************
|
--
Vladimir Ulchenko aka vavan
|
|
| Back to top |
|
 |
Tamas Demjen Guest
|
Posted: Fri Dec 17, 2004 12:39 am Post subject: Re: BCB 5 compilation speed |
|
|
Des O'Toole wrote:
| Quote: | I had the same problem when I upgraded to BCB6 but I didn't have the time to
investigate if the details were still the same. Instead I just switched to
making/building via the command line. It's a real pain not being able to get
the benefits of compiling via the IDE but it's the only way to make the
compilation speed acceptable.
|
Can you still debug from the IDE if you use the command line make to
build the project?
Thanks,
Tom
|
|
| Back to top |
|
 |
Ed Mulroy [TeamB] Guest
|
Posted: Fri Dec 17, 2004 3:46 am Post subject: Re: BCB 5 compilation speed |
|
|
| Quote: | Can you still debug from the IDE if you use the
command line make to build the project?
|
As long as it was built with debug info, yes.
Start the IDE
Select Run|Parameters
Click Browse and select the executable
Click Load
When this pass is done and you do Run|Parameters
again, it will remember the file and Browse will not
be necessary.
You have cross-posted your technical messge message
about the IDE to the Non-Technical, Third Party Tools and
IDE groups even 'though it has nothing to do with
Non-Technical or with Third Part Tools. Please follow the
newsgroup guidelines and post any given message to the
one newsgroup which best relates to the subject of the
message.
http://info.borland.com/newsgroups/guide.html
.. Ed
| Quote: | Tamas Demjen wrote in message
news:41c22acd$1 (AT) newsgroups (DOT) borland.com...
|
|
|
| Back to top |
|
 |
|