Code::Blocks Forums
User forums => Embedded development => Topic started by: Longin on August 28, 2014, 09:09:05 pm
-
When you let C::B detect for toolchain it adds paths for avr/include and avr/lib into search directories.
Isn“t it bad for cross-compilation for mcu? Cause with this settings there are messing linking libraries cause of undefined referencies etc
If paths are blank everything works fine.
This happens for last WinAVR package (20100110) or AVR toolchain from Atmel
-
I agree, I think a freeze/unfreeze Compiler settings button might be one way to fix the issue.
Having an disable auto-detect would be another way to fix the issue.
Tim S.
-
Inclusion of 'avr/lib' is dangerous for avr-gcc as it points the linker to the wrong library file. There has been a problem reported before and I thought it was removed after that. In case it isn't, auto inclusion of 'avr/lib' for avr-gcc should be removed as avr-gcc finds the correct library file by some mechanism implemented in source code.
-
So should i report this "bug" to development team somehow?
-
So should i report this "bug" to development team somehow?
Only if the problem is in the last release of 13.12.
And, it is nice to verify the problem is still in the most resent nightly build.
I would suggest asking in the nightly thread about whether this bug is fixed; and if not report on to the sf.net site.
Link is on the CB Wiki page.
Tim S.
-
It is better to test this yourself and the report it on sf.net.