News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Multi compiler target problem

Started by Quetz, April 22, 2005, 05:00:01 PM

Previous topic - Next topic

Quetz

Hello Everybody,

I've got a problem using multi-target for many compilers. As a student I have to compare algorithms' speeds, so the thing to do it, is to compile the same project in multi-target way with many compilers (I'm using GCC and Digital Mars).

The problem is, when it compiles one target with one compiler C::B doesn't want to compile another one giving me execution error. It doesn't matter which comes first (GCC or DM). I always get execution error on the second compiler.

Compiler paths are ok, because I'm able to compile  a single target in any of those two compilers.

Thanks for the answer,
Jakub Lambrych

hd

Hi,

Yes, CB can't change different compiler by toolbar->combobox or menu.

But there is a workaround it:

- First change your target
- Then using build options change your compiler for the target

CB will ask to change compiler for all targets; say no

Then build will work as intended (I hope!)

ps: I'm using this method for a test project, having gcc, dmc, bcc, and vc targets


--
Regards,
Hakki Dogusan

Quetz

Thanx for reply.

I think that, the Great Code::Blocks Creator should add this feature to the next version.

The Great Creator : we're calling you!!!

Best regards,
Jakub Lambrych