| Summary: | Generated makefile should use user specified compiler path instead of workspace preference | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Vivian Kong <vivkong> | ||||||
| Component: | cdt-other | Assignee: | Chris Recoskie <recoskie> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdt-build-inbox, recoskie | ||||||
| Version: | 7.0.2 | ||||||||
| Target Milestone: | 7.0.3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Vivian Kong
At one time we needed to have an Eclipse dynamic variable defined in addition to the managed build system macro resolver because makefile projects didn't have a toolchain, and hence had no way of resolving the variable for scanner discovery. Now that makefile projects have a toolchain, we can get rid of this. Even still, this ought to have worked. Something changed in the build system at some point to cause Eclipse variables to be evaluated first and then evaluate build macros after that. It used to be the other way around. Regardless, I'll post (as well as commit) the patch today that fixes this. I've confirmed that getting rid of the dynamic variable resolver and variable definition fixes the problem. Makefile projects still function after the fix. Created attachment 200294 [details]
patch
(In reply to comment #2) > Created attachment 200294 [details] > patch I don't think we need to update the version number again. I believe I've already updated it to 6.2.0 for bug 350501 Created attachment 200391 [details]
patch that fixes version number
Applied to cdt_7_0, cdt_8_0, and master. *** cdt git genie on behalf of 351255 ***
Bug 353113 - BuildDescription class does not behave properly for remote
projects
commit 673d559f90b08f6995fabc8b8bd6cc79e3c757c0
Bug 351255 - Generated makefile should use user specified compiler path
instead of workspace preference
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=983c100d63dd2fa8372ccdae0585af74e886c848
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=673d559f90b08f6995fabc8b8bd6cc79e3c757c0
*** cdt git genie on behalf of 351255 ***
Bug 351255 - Generated makefile should use user specified compiler path
instead of workspace preference
commit 79fc7de8028144434f8e7d1bcea741548b117fa7
Bug 353113 - BuildDescription class does not behave properly for remote
projects
commit 2b7373ef4c8f8d31ea7ac1f23e22a30ecf3cb915
Bug 351255 - Generated makefile should use user specified compiler path
instead of workspace preference
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=e40f22522228b215a416d16ec5a3b7a513cbcb37
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=79fc7de8028144434f8e7d1bcea741548b117fa7
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=2b7373ef4c8f8d31ea7ac1f23e22a30ecf3cb915
*** cdt git genie on behalf of 351255 ***
Bug 353113 - BuildDescription class does not behave properly for remote
projects
commit 43acd6a0f8e1cbe0fb7aa0a8f343bf69011583fa
Bug 351255 - Generated makefile should use user specified compiler path
instead of workspace preference
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=a8fb1e337610bb7dbfd1d70639770f7f07746bf3
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=43acd6a0f8e1cbe0fb7aa0a8f343bf69011583fa
*** cdt git genie on behalf of Chris Recoskie ***
Bug 351255 - Generated makefile should use user specified compiler path
instead of workspace preference
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=2b7373ef4c8f8d31ea7ac1f23e22a30ecf3cb915
|