I have seen an option -fPIC while compiling some programs using gcc.I refered the man pages,but could not understand the meaning.Can anyone explain abt that to me? thanks in advance with regards kamesh jayachandran kamesh jayachandran SoftWare Engineer PlanetAsia.com Bangalore See my work at www.electricalmachine.com