Some awnsers:
1. Yes, I am aware of that, but cannot fix thel The ldconfig is used to add all the libs for the Code::Blocks PND the the "pool" of libs available. Some files in the libs folder added or not real so. There are python scripts in the PND (the 1st errors, and more in the build 08 of the PND), and the two others are from the Firmware itself, nothing I can do...
2. Yes, I have seen tha, and I find it anoying too.But I haven't find a way to avoid that yet. I think it is a side effect of the ldconfig thing. May be a "sudo ldconfig" to refresh the pool without code::blocks pnd libs will do the trick?
3. I haven't setup any optimization, not in the Command Line, not in code::blocks. But for conde::block, default behavour is to have "-O2" for release build (the other flags are to be put by end). I can setup default optimzations flags, but you have to alter them if not to your taste, so I don't know.
4. Tutorial is realy not my specialty. About importing project in code::blocks, I haven't found magical formulas for this. For plain "configure & make", nothing exist, you have to create a Code::Blocks project by hand (thats doable for small project, but it is rapidly a too big task). For cmake, you can generate (with the -G "Codeblocks - Unix") a project, so it is easy. For Scons project, I don't know yet..
About Libraries you want to add, I will look at something. I have it almost ready, just the pkconfig thing I'm not sure yet. But, basicly, you will have to do a "./configure --prefix=/mnt/utmp/codeblocks/local", and "make" & "make install" to setup you custom libs. Than you do a "sudo ldconfig -f /mnt/utmp/codeblocks/init/ld.so.cfg" and your new lib is available(that next step is not always necessary). That is what I am planning for Build 08 of the PND (plus the full GCC 4.7.2 suite of compiler, update cmake, Perl 5 with cpan library installable and python 2.7, winelib & mesaGL to convert & compile even more stuff). comming soon, around Christmas I hope.