Wednesday, November 15, 2006

ccache and cachecc1

do you spend too much time waiting for your compiler to do its work!? maybe these two could help you

I finally decided to use the cachecc1 (instead of ccache) at my debian ( xubuntu ) since i did not want to touch at all my makefile nor to make alias or links of the developer tools.

Both tools seem quite effective, and maybe you feel more comfortable with ccache, but to me cachecc1 archives the gain i was looking for. So far, compiling time has been dropped to 1/3th, which to me, a compulsive "make_all'er" is quite a lot during the day.

The true is that i build the tool, and did NOT work (here at edgy), but i did find a .deb package linked from the cachecc1 page, and it worked out-of-the-box. How nice.

Update: I've compiled, installed and used it a FC4 ( vmware image ) successfully

Friday, November 03, 2006

reading from a serial device

Yes. You just want to peek a view into the incoming serial data. You are looking for a solution (not a problem), it has to be easy, it has to be pain free. You just want to read incoming data from a serial device. It can not be that hard!

and then you google for a while until you find the answer:

apt-get install picocom
picocom -b 115200 /dev/ttyUSB0

This does the work, quite nice.