Go to the environment options dialog and check if the compiler is the right one. I think that Lazarus comes preconfigured to use ppcx86.exe but it should actually use fpc.exe which will choose the correct compiler. Don't change anything in your fpc.cfg file. -- Felipe Monteiro de Carvalho