Board index » cppbuilder » Strange behaviour of mtbcc32
Darko Miletic
![]() CBuilder Developer |
Darko Miletic
![]() CBuilder Developer |
Strange behaviour of mtbcc322005-09-01 04:51:46 AM cppbuilder62 Hi, As I maintain build files for borland compiler for VCF library I decided to try mtbcc32 to see if time of compilation will reduce. Instead I get quite strange results. Basicaly mtbcc32 only compiles if I set equalize to 1 in ini file. In other case it tries to link every file as dll or executable. Any ideas what could be the problem? Darko |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-01 05:51:40 AM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteAs I maintain build files for borland compiler for VCF library I decided reporting this. I will change how it works so that it will automatically add the -c and then execute the link afterwards, only if the command line did not include the -c. Jonathan |
Darko Miletic
![]() CBuilder Developer |
2005-09-01 06:24:28 AM
Re:Strange behaviour of mtbcc32
Jonathan Benedicto wrote:
Quotemtbcc32, as it is currently built, is intended to be used with the -c file. That is why I'm suprised about this behaviour. Darko {smallsort} |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-01 09:58:20 AM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteThe commands do include -c option since they are part of large makefile Jonathan |
Darko Miletic
![]() CBuilder Developer |
2005-09-01 07:34:20 PM
Re:Strange behaviour of mtbcc32
Jonathan Benedicto wrote:
Quote"Darko Miletic" < XXXX@XXXXX.COM >wrote in message That should do it. Darko |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-01 11:36:42 PM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteThan just in <VCFROOT>\build\bcc open defaulmake.inc and replace CC to be |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-02 05:01:23 AM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteThan just in <VCFROOT>\build\bcc open defaulmake.inc and replace CC to be Any ideas ? Jonathan |
Darko Miletic
![]() CBuilder Developer |
2005-09-02 07:37:17 AM
Re:Strange behaviour of mtbcc32
Jonathan Benedicto wrote:
QuoteI'm using the CBX compiler, and I'm getting No files given errors. Bcc is equalize do? Darko |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-02 08:04:56 AM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteAs I told you if you put in ini file equalize to 1 than it works OK. I Sounds like something might be wrong with the paths. Jonathan |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-02 08:42:30 PM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteAs I told you if you put in ini file equalize to 1 than it works OK. I In default.inc, I changed these lines to : .cpp.obj: @$(CC) $(CPPFLAGS) -I$(INCDIR) -n$(OBJ) $< .c.obj: @$(CC) $(CFLAGS) -I$(INCDIR) -n$(OBJ) $< Also, mtbcc32 isn't going to help, as the makefile creates a new bcc32 instance for each file individually instead of passing all the files to one bcc32 instance. Jonathan |
Darko Miletic
![]() CBuilder Developer |
2005-09-02 10:34:14 PM
Re:Strange behaviour of mtbcc32
Jonathan Benedicto wrote:
QuoteOk, I think I've fixed the problem. You had a /c in the make file that was Thanks for the info. Darko |
Jonathan Benedicto
![]() CBuilder Developer |
2005-09-02 10:41:46 PM
Re:Strange behaviour of mtbcc32
"Darko Miletic" < XXXX@XXXXX.COM >wrote in message
QuoteI see. OK, I'll try to revise makefile in order to get exactly that kind |