Author Topic: Multi compiler target problem  (Read 3918 times)

Offline Quetz

  • Multiple posting newcomer
  • *
  • Posts: 19
    • http://
Multi compiler target problem
« on: April 22, 2005, 05:00:01 pm »
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

Offline hd

  • Multiple posting newcomer
  • *
  • Posts: 45
    • http://www.dynaset.org/dogusanh
Multi compiler target problem
« Reply #1 on: April 22, 2005, 07:43:16 pm »
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

Offline Quetz

  • Multiple posting newcomer
  • *
  • Posts: 19
    • http://
Multi compiler target problem
« Reply #2 on: April 22, 2005, 09:37:56 pm »
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