Tuxology is born


Those of you who keep track of this blog, knows that we use it for two purposes: announcements about Codefidence and it’s activities, as well as sharing technical tips and tricks related to Linux and Open Source based software development for our consultancy and training customers to enjoy (and of course everyone else).

As these posts have been very successful, at least judging from the amount of positive responses we’ve been getting, we decided to give them some more elbow room, thus Tuxology was born.

Tuxology is a web site dedicated to the Linux training courses and consultancy provided by Codefidence and Hi-Tech College. It aims to provide an on-line counterpart to the courses material for students and and consultancy clients who wish to expand their knowledge and keep their skills up to date both during and after the training courses.

Tuxology was created as a result of our belief that training is a process and therefore should be conducted in the context of a long term relationship between the instructor and the students and not a one off transaction.

In the spirit of the Free and Open Source software world which Linux is a part of, all the site facilities are free for all to access and enjoy, including updated course slides, forums and articles about the different course topics.

So, if you liked the tecnical tips and tricks in we’ve been providing thus far on the Codefidence web site and blog, make sure to head over to Tuxology.net to get the full Monty.

Hope to see you there!
The Codefidence team

Penguin In a Box 2008

We are proud to announce that the third annual Penguin In A Box embedded Linux seminar organized by Codefidence ltd. in cooperation with Hi Tech College, will be held at the 03/07/2008 in the Daniel hotel and convention center in Herzelia, Israel.

As the use of Linux in the embedded market is on the rise and it’s development continues at an extraordinary rate, the seminar will cover, as in previous years, a broad range of topics relevant to Linux based embedded system developers wishing to keep abreast of recent developments.

For further details, check out the seminar web page (in Hebrew).

See you all there,
Codefidence Team

Reducing the size of dynamic libraries

Today we have a special reader request from an anonymous reader (slightly edited):


Hello,

Can you help me with some link issue which i face?

I need to compile tree of c-sources which produce .so files and exe
files. I want to decrease the sizes of .so by throwing away unused symbols.

I can compile my tree statically and used as compiler flags –static -ffunction-sections -fdata-sections and link with –gc-sections option and it reduces all the unneeded symbols but I want to achieve the same effect in dynamic linking.

Do you know some efficient way to do it?

Thanks,
Anonymous Reader

So the question is: how to make a minimal set of dynamic libraries for a known set of executables that only contain the code for those symbols which the executables actually use, thus saving expensive storage?

The quite simple answer is that there exists a Python utility that does exactly what you want called mklibs - It produces cut-down shared libraries that contain only the routines required by a particular set of executables.

On Debian just go “sudo apt-get install mklibs”, or you can get the source straight from the Buildroot source repository here.

If you don’t like Python (you really should!) you can try an older, shell script based variation on the same theme found here.

Note that you can pass the cross compiler prefix with the “–target” option, which is of course needed for supporting cross compilation.

Hope you found it useful and if you have more questions about Linux development you’d like answered, just let us know.

The Codefidence team.

We’ve Moved!

That’s right, the Codefidence team have happily moved to our new offices in Tamar science park in Ness Ziona. The full address can be found in the updated contact page.

New Codefidence office

The move brings about a new shiny office with an amazing view, smack in the heart of the high tech district of Rehovot/Ness Ziona and within a relatively short driving distance from the Ben Gurion airport for our guests from abroad.

View from new office

Please note that with the move we have also changed phone numbers. The new numbers are as follows:

Tel: +972-8-9316883

Fax: +972-8-9316884

Wish us a happy stay in our new offices.