Regarding alignment... There is a GCC-extension called __alignment__. Using this you can set the alignment for a specific object. Read the GCC manual for information. -- Elias M}rtenson ! No joke here. elias@proxxi.uf.se ! Sorry for the inconvenience. C-programmerare och GNU-fanatiker !