Is it normal that integer<>longint in FPC?
Yes, it looks like it is. See e.g. http://courses.cs.vt.edu/~cs3304/FreePascal/doc/ref/node6.html#tab:integer32type.
I don't know any switch to change the maximal stack. The default one is about 128K.In turbo pascal, we know {$M ....}. how about fp? I never did use gpc, how about that?