Upon compiling the freepascal compiler from cvs, I noticed a lot of .o and .ppu files generated in addition to the final executable. What is the difference between .o and .ppu files and can I delete them both to eliminate the clutter?
Mailing lists / fpc-pascal / 2003-10
.ppu and .o files
4 messages · 4 people ·
- AAlan Mead 1
- AAndy Sy 1
- IIvan Montes 1
- PPeter Vreman 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Upon compiling the freepascal compiler from cvs, I noticed a lot of .o and .ppu files generated in addition to the final executable. What is the difference between .o and .ppu files and can I delete them both to eliminate the clutter?
.ppu contains information for the compiler
.o contains object code used by the linker
See the programmers manual for more information
Upon compiling the freepascal compiler from cvs, I noticed a lot of .o and .ppu files…
The .ppu are compiled units. You probably want to keep them hanging around, but it's not neccessary. If you delete them, the compiler simply needs to re-compile all the units each time you compile. If you leave them, I think it will only compile the changed units and the main program.
I think the .o files can be deleted.
-Alan
--- Andy Sy wrote 5 lines
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
the .ppu/ppw files are the interface parts of the unit in a compiled form, while the .o/ow files are the implementation part of an unit or a program in it's compiled form. Those files (.o/.ow) are needed to perform the linking of the app.
Once you've compiled the compiler you don't need them. However you'll need the ones generated when compiling the RTL.
ciao, Ivan
