From: Thomas H. <th...@in...> - 2011-12-04 12:53:38
|
Hi Volker, thank you for your feedback, On 04.12.2011 05:34, Volker Kuhlmann wrote: > > Hi Thomas, > > Thanks muchly for this plugin. I updated this beta over top of the > previous one, and compiling avr programs still works. Well on openSUSE > 11.4 64bit anyway. > > What I am having trouble with is something in eclipse messing with $PATH > and with build output if the paths are not exactly standard. That is > starting eclipse with > env /some/bin:$PATH eclipse > > /some/bin contains only a different version of avr-gcc. > Two things happen here: > > 1) eclipse tends to prep-end other paths, like /usr/bin, in the very > front again. I haven't yet found how to kick it in the shins to not do > that, or to get any idea about the rules it employs there. Have you tried to change the path to "avr-gcc" in the Eclipse Preferences? (Preferences -> AVR -> Paths) The Plugin prepends the path to "avr-gcc" and the path to "make", in that order, to the system path. This is mainly for Windows, as both executables are not necessarily on the System path and especially with 'make' there might be non-gnu versions of make in the path, causing confusion for newbies. But this is also useful on Linux for changing to a different Toolchain not located in the system path, something I think you are trying to do. > > 2) The output of the eclipse console window (with the build output) is > extremely messed up. When the final program size is output, screenfuls > of more lines show up, interspersed with the last expected output (from > avr-size) and the continuing for several screenfuls more. Wild guess, > eclipse is capturing two different output streams and mixing them badly > out of order. Haven't seen that effect before. Could you please copy and paste the content of the console window? Maybe I can decipher whats happening on your system. Cheers, Thomas |