User forums > Help

Multi compiler target problem

(1/1)

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

Navigation

[0] Message Index

Go to full version