On 19 Jan 2015, at 16:22, leledumbo wrote:
Because we don't use the linker's "-T" option (the one the linker
warning refers to), the link.res should be added to the built-in
linker script of your system rather than replace it. This built-in
linker script should already contain the default library paths. Run
"ld -m elf_i386 --verbose" to see this built-in linker script. The
default directories are listed via SEARCH_DIR() near the top.
I don't know what could have changed in FPC to cause your observed
change. Did you perhaps also regenerate your fpc.cfg configuration
file when updating? Maybe something changed in that regard.
Sorry, I forget to tell you that Marco has given the answer by using
-Xd.
That should not be necessary.
ld
-m elf_i386 --verbose does show the forbidden-for-32-bit-target paths,
But does it also show the 32 bit ones? If not, you should probably
file a bug report against your distribution, and the difference
presumably did not come from an update of FPC, but from an update of
your system.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal