Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318079

Summary: Multiple toolchains in one project
Product: [Tools] CDT Reporter: spamdefeat-p1
Component: cdt-otherAssignee: Doug Schaefer <cdtdoug>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: lars.moellendorf
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description spamdefeat-p1 CLA 2010-06-26 10:12:20 EDT
Build Identifier: 

Hope this is in the right place - else please move it.
It would be nice if it were possible to compile with multiple toolchains (for multiple cross-targets, for example MinGW-32 and MinGW-64, or gcc-win and gcc-cross-linux-on-win) in one run. Each toolchain must have their own configuration then. At the moment, as far as I have understood, I must duplicate the projects and always build them separately to get this working.

Not sure if this has further implications. Imaginable would be the error display in the source tree (errors must win, not last compile) - then you see immediately whether what you do is compilable for every target.

Reproducible: Always

Steps to Reproduce:
Attempt to create a single project for multiple target platforms using different toolchains.
Comment 1 Doug Schaefer CLA 2010-06-26 12:08:05 EDT
I do this all the time and even demoed it at the Ottawa Eclipse Demo Camp. Create one configuration for each toolchain. There's even a build all configurations menu item on the project. In the demo, I showed a static library that built for Windows using mingw and for Android using the Android gcc toolchain, all from the same project but with two configurations.
Comment 2 Lars M. CLA 2015-01-15 10:30:17 EST
(In reply to Doug Schaefer from comment #1)
> I do this all the time and even demoed it at the Ottawa Eclipse Demo Camp.

Is there any record of the demo, could you please link it?
Comment 3 Doug Schaefer CLA 2015-01-15 10:54:29 EST
(In reply to Lars M. from comment #2)
> (In reply to Doug Schaefer from comment #1)
> > I do this all the time and even demoed it at the Ottawa Eclipse Demo Camp.
> 
> Is there any record of the demo, could you please link it?

That was almost five years ago. Unfortunately we don't have a recording of that.