[fpc-pascal] warning: link.res contains output sections; did you forget -T?
Sven Barth
pascaldragon at googlemail.com
Mon Mar 4 13:39:32 CET 2013
Am 04.03.2013 13:35, schrieb Juha Manninen:
> Yes, I know this warning can be ignored, and every active member of
> this list knows it, too.
> However new users don't know it. Everybody who tries FPC / Lazarus for
> the first time will scratch their heads and use Google, trying to find
> out where exactly they forgot to put this "-T".
>
> My workmate decided to try Lazarus after I had advertised it.
> This was the first thing that he, too, noticed and reported to me.
> Yes, Google gives links like:
> http://www.lazarus.freepascal.org/index.php?topic=13500.0
> which finally clarify the situation.
> Still, is there really no way to get rid of this warning?
> I understand it comes from "ld". Is patching "ld" the only way?
No, this can't be changed without patching ld. Though you could try the
new internal ELF linker on systems that already support it (AFAIK i386,
x86_64 and MIPS (and maybe also ARM)), but I don't know whether it
already supports all features (like building shared libraries).
Regards,
Sven
More information about the fpc-pascal
mailing list