My internet is back. It was out for 24 hours and now I know 'The Internet' is a drug that we have withdrawals from.
I didn't look to see what they compile with at school but you are right Balawm. I am trying to emulate the school to avoid rewriting the code when I get there.
I will give it a try Lee and see what happens. From what I understand of programing so far Geany is a text editor and it uses a compiler to convert my code to machine code. There are a number of different compilers on the market (maybe not so with Pascal), but you pick the best one for your needs. Geany only seems to like FPC. But successfully compiles with GPC in the terminal.
I found this on the Free Pascal site for my problem......
There is a bug in GNU LD 2.19 and 2.19.1 that causes it to crash when processing FPC-generated linker scripts. This bug has been fixed in the mean time.
At the same time, LD has been modified to emit a warning of the form
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
This warning is benign, and FPC intentionally does not pass -T to LD. The reason is that if -T is used, LD's internal linker script is ignored and only FPC's linker script is used. Such linker scripts also contain paths to libraries however, and if we would ignore the internal linker script then LD would no longer find libraries in distribution-specific directories."
So it must be FPC
Thanks!
-Lars