You should check out:
Synopse mORMot is an Open Source Client-Server ORM SOA MVC framework for FPC, targeting Win/Linux for the server, and any platform for clients (including mobile or AJAX).
Free Pascal is a 32, 64 and 16 bit professional Pascal compiler. It can target many processor architectures and operating systems.
Lazarus is a Delphi compatible cross-platform IDE for Rapid Application Development. It has variety of components ready for use and a graphical form designer to easily create complex graphical user interfaces.