What I want is to modify some files in c:\lazarus\fpc\version\source\ directory, and after that recompile the programs(including lazarus) to follow the changes made within those files. The "c:\lazarus" directory contains version 1.2.4 for example, not an unknown svn snapshot, and "c:\lazarus\fpc" contains fpc shipped for Lazarus 1.2.4, not an undetermined svn snapshot.
I've read the article at
http://wiki.lazarus.freepascal.org/Installing_Lazarus as I think it's closest to what I want to do.
The differences are as follows.
I would like to modify the original distributed files found within the c:\lazarus\fpc directory, I'm not interested in a different or separated fpc install. This makes "STEP #2: Create a BAT file to compile FPC"(found at the above link) not precisely accurate to my needs.
For example, even if I would modify the line "set myroot=c:\freepascal" to "set myroot=c:\lazarus\fpc" I would still have a problem with the following line "set mybinutils=%myroot%\binutils" as there is no "c:\lazarus\fpc\2.6.4\binutils" directory.
Also, the following line "make clean all install INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe" refers to a file "data2inc.exe" that can be found within "c:\lazarus\fpc\2.6.4\bin\i386-win32" directory but not in a "utils" directory.