I would recommend learning to use Lazarus. It looks like Delphi, uses Free pascal compiler, works on Windows and Linux and doesn't cost a thing.

You can download it (Use latest snapshot always. The recent "stable" version is very very outdated and in fact less usable.) here: http://www.hu.freepascal.org/lazarus/
"Lazarus + fpc 2.4.0 - win32" is propably the most common pick, but choose the fitting for your system.

First question you may have concerns executable size being over 11mb on empty form. This is solved removing debug symbols from .exe, this is done in compiler-linking options.
- Strip Symbols From Executable (-Xs) -> Checked
- User external gdb debug symbols file (-Xg) -> Checked
(edit: fixed)

Also, if you are using other libraries you will be forced to type their directory path in the project paths aswell, for each project.