ppufiles(1)

πŸ’… ppufiles(1) β€” the FPC Pascal unit object file lister πŸ’…

okay bestie, so <rainbow>ppufiles</rainbow> is a lil tool from the Free Pascal crew and honestly? it's giving quietly essential. it lives in the ppufiles(1) manual section, and it does exactly one thing but it does it so well. let's get into it 🫢


✨ NAME ✨

ppufiles β€” the FPC Pascal unit object file lister. that's the whole name, no cap. πŸ’–


🌸 SYNOPSIS 🌸

ppufiles [options] [file [file [file]]]

look at that. options, then files, and yes you can stack up to three files there like it's a lil snack pile πŸ“


πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she do? ppufiles lists all the binary files that are needed to link a unit file. πŸŽ€

and "all the binary files" is not just a vibe β€” it literally includes any object files or libraries that must be linked in through some directive in the unit. so if your unit has opinions about what needs to be dragged along at link time, ppufiles knows about them and will spill the whole list. πŸ’…


πŸ’œ USAGE πŸ’œ

okay so here's how you actually talk to her: you invoke ppufiles with, as arguments, the name of the units whose object files you wish to list. πŸ‘‘

⚠️ important: an extension must be given. like, do not skip the extension, she will not figure it out for you bestie, that's not the deal.

why would you want this? because it's genuinely useful for creating a listing of all created object files β€” and then deleting them in a Makefile. yes ma'am, Makefile cleanup arc, we love to see it 🧹✨


🌈 OPTIONS 🌈

ppufiles has several options, and β€” fun fact β€” they are case insensitive. so -A and -a are the same energy, periodt. πŸ’…

  • -a β€” this option tells ppufiles to list all files. the full menu, no filter, everything on the plate. 🍽️
  • -h β€” help screen. your girl needs a minute? she'll explain herself. πŸ™ˆ
  • -l β€” this option tells ppufiles to list only shared libraries. πŸŽ€
  • -o β€” this option tells ppufiles to list only object files. πŸ”₯
  • -s β€” this option tells ppufiles to list only static libraries. ⭐

πŸ’€ ERRORS πŸ’€

in case the unit is in an older or unrecognised format, ppufiles will complain about that. 😭

like yeah, she's gonna be loud about it, and honestly? fair. she cannot work with a format she doesn't recognise, and she is not gonna pretend otherwise. no fake vibes here. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

go hang out with her friends too, iykyk:


πŸŽ€ sign-off πŸŽ€

and that's the whole page bestie!! this manual is brought to you by Free Pascal, and the version we're reading is dated 9 June 1999 β€” vintage but iconic, a true main character of a date. πŸ’–βœ¨

now go list those object files and slay the link step πŸŒΈπŸ¦‹πŸ’…

πŸ“¦ where this page comes from