pour linker en statique, il faut ajouter l'option suivante à gcc:

pour avoir un truc du genre:

++

Fiki