FPC contains both SysUtils and Classes, so you shouldn't have any problems there.

To compile your project you just need to type...
fpc -Sd -B <project name>.dpr

on the command line and if should build.

-Sd puts FPC into Delphi compatible mode and -B is to do a Build All.


I hope this helps.