BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: BCB 5 compilation speed

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Des O'Toole
Guest





PostPosted: Thu Dec 16, 2004 11:41 am    Post subject: Re: BCB 5 compilation speed Reply with quote




"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





PostPosted: Thu Dec 16, 2004 12:13 pm    Post subject: Re: BCB 5 compilation speed Reply with quote



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





PostPosted: Thu Dec 16, 2004 12:22 pm    Post subject: Re: BCB 5 compilation speed Reply with quote



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





PostPosted: Fri Dec 17, 2004 12:39 am    Post subject: Re: BCB 5 compilation speed Reply with quote

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





PostPosted: Fri Dec 17, 2004 3:46 am    Post subject: Re: BCB 5 compilation speed Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.