PSoC Creator 2.1 SP4 Linker Order Setting | Cypress Semiconductor
PSoC Creator 2.1 SP4 Linker Order Setting
I understand that we can generically control the build order using the Build Settings/Build Order options in PSoC Creator. I am wondering if there is a way to control the settings for the Linker (arguments) files/options? That is not just the linker options (flags) themselves but also the order of the object files that are fed into the Linker.
We have a project such that main.obj is showing up in the middle of the linker command and we need main.obj to be the first argument of the linker. Using the build settings do not appear to change the order of main.obj. We believe that this is throwing "REFERENCE MADE TO UNRESOLVED EXTERNAL" errors. We checked our header files and our use of extern so the dependacies appear to be all in order and free of circular includes etc...
We are using PSoC Creator 2.1 SP4 with Keil DP8051 9.03. Any help would be highly appreciated. The odd thing is that the project compiles OK in PSoC Creator 2.2 without any changes to the build settings.