did you forget -T? lazarus / 1-Linux ---------------------------------------------------------------------- ynys_pas · 2021-09-04 21:56 I have tried installing both FPC and Lazarus on linux (usually debian based) distros from their repos and usually find when compiling some code I get the warning message: link.res contains output sections; did you forget -T?  It doesn't actually seem to do any harm ie the program compiles and runs anyway BUT is there something I need to do to eliminate the warning? ---------------------------------------------------------------------- eugene.raynor · 2021-09-04 22:36 Put here code example. ---------------------------------------------------------------------- ynys_pas · 2021-09-04 23:13 Anything whatsoever program test; uses CRT; begin Writeln('just a test'); Readln; end. ---------------------------------------------------------------------- eugene.raynor · 2021-09-04 23:18 It's OK... ---------------------------------------------------------------------- Kays · 2021-09-05 06:44 Quote from: ynys_pas on September 04, 2021, 11:56:48 pm[…] did you forget -T?  […]confer https://www.freepascal.org/faq.html#unix-ld219 ---------------------------------------------------------------------- ynys_pas · 2021-09-05 21:17 @Kays Thanks I will go with: 'Their is no way to remove the -T warning with earlier FPC versions, but it should not result in any problems' But will no doubt attempt future installs and see what's what.