Try seeing this page

http://wiki.freepascal.org/FPC_and_S...pecific_issues