Author Topic: I can't recompile some low level modules  (Read 3080 times)


  • Newbie
  • Posts: 1
I can't recompile some low level modules
« on: July 20, 2010, 10:10:23 am »
In my project I want to be able to  log any operations of creating, deleting, truncating and renaming files so I have modified these files in Lazarus FPC (v.0.9.22 Win32):
I have that path ($(FPCSrcDir)\rtl\win32\) added to the "Other Unit Files" and the "Include Files" search paths in IDE Compiler Options. That path is also added in fpc.cfg file from project directory:
When I compiled my project on the IDE logging is working fine, but when I compiled this from the command line, in  destination application  that modification is not included, so the compiler (and linker) took the original compiled units (.ppu).
How to force command line compiler (linker) to include modified units?


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8722
  • FPC developer.
Re: I can't recompile some low level modules
« Reply #1 on: July 20, 2010, 11:33:53 am »
Read the buildfaq (search for fpc buildfaq on the web), and rebuild FPC on the cmdline using make.

Then, under no circumstances, include FPC paths in your lazarus unit searchpath (only in the debugger sourcepath)


TinyPortal © 2005-2018