Recent

Author Topic: /usr/bin/ld: warning: bin/link.res contains output sections; did you forget -T?  (Read 10059 times)

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 917
    • Burdjia
From a recent update I receive this message in every compilation.
Code: [Select]
/usr/bin/ld: warning: bin/link.res contains output sections; did you forget -T?It's really annoying. >:(

I did read this post but it doesn't help.

I'm using FPC 2.2.4-3 on Xubuntu 9.10. "ld -v" says it is version 2.20.

A compilation example:
Code: [Select]
fpc src/compiler/z80pas.pp  -FUobj/compiler/ -FEbin -g -O- -pg -Mobjfpc
« Last Edit: November 19, 2009, 08:25:51 pm by Ñuño_Martínez »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 669
From a recent update I receive this message in every compilation.
Code: [Select]
/usr/bin/ld: warning: bin/link.res contains output sections; did you forget -T?It's really annoying. >:(

http://www.freepascal.org/faq.var#unix-ld219

Won't help with it being annoying, but explains why FPC does not use -T.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 917
    • Burdjia
I was looking on the forum and the whole WWW but I didn't find it on the FAQ. Thanks.

So it can be ignored.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal