wrong compiled object file name can be used in linking
Original Reporter info from Mantis: AlexRayne
-
Reporter name: AlexRayne
Original Reporter info from Mantis: AlexRayne
- Reporter name: AlexRayne
Description:
Hallow all!
looks like after compilation of a unit - theere is fogoted to remember a file name of newly builded .o - object filename, and to linking has passed an obsolete name.
here how i found it:
i have an source dir: \pas\source\win wich contain an termio.pp - unit
in this dir i`ve created another dir - \pas\source\win\i386-win32
and compile in one the termio unit with switch -FU./$FPCTARGET
and now \pas\source\win\i386-win32 contain termio.o and termio.ppu
after that i created an testbench in \pas\source\testzone
and in this dir create an \pas\source\testzone\i386-win32
and compile testbech with -FU./$FPCTARGET switch
the recompiled termio unit collected in \pas\source\testzone\i386-win32
but to linker passed an object \pas\source\win\i386-win32\termio.o
Mantis conversion info:
- Mantis ID: 9288
- Version: 2.2.0
- Monitored by: » @marcoonthegit (Marco van de Voort)