Misc Issues with Codelite
Posted: Wed Jan 30, 2013 5:49 am
I have been using codelite for AVR development for two year now, and mostly it's been working okay. But since moving to a new Win7 machine having some issues.
One:
I'm using the latest release of WinAvr which is based on cygwin. Unless I rename WinAVR's version of sh.exe to something like sh_nope.exe I get errors like...
/usr/bin/sh: /c/WinAVR-20100110/bin/avr-gcc: Invalid argument
Which I take is some incompatibility between the older sh.exe in WinAvr and the shell expected by codelite. (Note WinAVR is about two years old at this point). What is odd is I have a work space with a couple of different projects and some of them suffer this an some don't. Very odd.
Two:
I tried using the latest version of codelite on my home machine (also win7) and I get similar errors when trying to compile a simple program. This is actually the most annoying, you expect a vanilla install to just work.
Three:
For WinAVR I have to create a custom compiler option. Which is okay. But when I upgrade to the new version of codelite, the configuration file gets overwritten. And all the projects get converted to use VC++. I have to recreate the custome compiler for WinAVR and then update the settings on my projects. Makes me a bit unhappy. It would be nice if it didn't do that, or if there was a way to copy an existing compiler and 'tweak it' since WinAVR is essentially just gcc with the same options etc.
Four:
Sometimes when swapping projects between machines, the compiler setting gets switch back tot he default (VC++). Not the end of the world, but another annoying thing.
Otherwise I've been happy with codelite. It would be nice to see it get used for embedded stuff more. (I think no one is happy with Eclipse, and in AVR land people very unhappy with Atmels switch to Visual Studio)
One:
I'm using the latest release of WinAvr which is based on cygwin. Unless I rename WinAVR's version of sh.exe to something like sh_nope.exe I get errors like...
/usr/bin/sh: /c/WinAVR-20100110/bin/avr-gcc: Invalid argument
Which I take is some incompatibility between the older sh.exe in WinAvr and the shell expected by codelite. (Note WinAVR is about two years old at this point). What is odd is I have a work space with a couple of different projects and some of them suffer this an some don't. Very odd.
Two:
I tried using the latest version of codelite on my home machine (also win7) and I get similar errors when trying to compile a simple program. This is actually the most annoying, you expect a vanilla install to just work.
Three:
For WinAVR I have to create a custom compiler option. Which is okay. But when I upgrade to the new version of codelite, the configuration file gets overwritten. And all the projects get converted to use VC++. I have to recreate the custome compiler for WinAVR and then update the settings on my projects. Makes me a bit unhappy. It would be nice if it didn't do that, or if there was a way to copy an existing compiler and 'tweak it' since WinAVR is essentially just gcc with the same options etc.
Four:
Sometimes when swapping projects between machines, the compiler setting gets switch back tot he default (VC++). Not the end of the world, but another annoying thing.
Otherwise I've been happy with codelite. It would be nice to see it get used for embedded stuff more. (I think no one is happy with Eclipse, and in AVR land people very unhappy with Atmels switch to Visual Studio)