Information about the license of Lazarus and FPC can be found here:
https://wiki.lazarus.freepascal.org/licensingAs I understand this (someone correct me if I'm wrong):
Things produced with Lazarus, FPC using the LCL, RTL and FCL can be under any license you wish, commecial, whatever.
But you redistribute modified versions of the LCL RTL or FCL you need to publish this again under the same license with a reference to the original.
So basically using Lazarus or FPC with their libraries to write your own programs gives you pretty much the freedom to do what you want, but you can't just take Lazarus and FPC and their libraries and sell them as your own.
LNET as being under a modified LGPL license has probably the same conditions