Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Adding Multiple Compilers

<< < (2/4) > >>

puneet_m:
Can we add multiple compilers to the same target?

Thanks,

Biplab:

--- Quote from: puneet_m on October 26, 2007, 08:18:40 pm ---Can we add multiple compilers to the same target?

--- End quote ---

Exactly what do you want to do?

puneet_m:
I want to add multiple compilers to same target, check the example below:

<Target title="Debug">
<Option output="bin\Debug\fd.exe" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug\" />
<Option type="1" />

<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>

<Option compiler="bcc" />
<Compiler>
<Add option="-b" />
</Compiler>

</Target>

Biplab:

--- Quote from: puneet_m on October 26, 2007, 08:36:03 pm ---I want to add multiple compilers to same target, check the example below:

--- End quote ---

AFAIK, it isn't allowed.

thomas:
This is not possible (and will not be), as it does not make sense. The build system needs to have unambiguous information about what compiler to use.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version