h4fc(1)

πŸ’– h4fc β€” the HDF4 F90 compiler wrapper, bestie edition πŸ’–

okay so real quick: this is a page from section 1 of the manual, and it's all about a lil tool called h4fc. she's not complicated. she's not doing too much. she just compiles your HDF4 F90 program and vibes. πŸ¦‹


✨ NAME ✨

h4fc β€” compiles an HDF4 F90 program πŸŽ€


🌸 SYNOPSIS 🌸

h4fc [OPTIONS] <compile line>

like, you give her some options, you give her a compile line, she does her thing. periodt. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

h4fc compiles an HDF4 F90 program. that's it. that's the whole job. she's a compiler wrapper and she's thriving. ✨


πŸ’œ OPTIONS πŸ’œ

  • -help β€” shows you the usage info, aka the "hey bestie here's how you use me" screen 🫢
  • -echo β€” spills every single shell command she runs, out loud, no filter. full transparency era πŸ”₯
  • -prefix=DIR β€” the prefix directory where she goes looking for the lib/ and include/ subdirectories of HDF4. default is /usr 🌈
  • -show β€” shows you the commands but does not actually run them. it's giving window shopping, not buying 😭
  • <compile line> β€” the normal compile line options for your compiler. h4fc uses the same compiler you used to compile HDF4. go check your compiler's man pages for more info on which options are actually needed, iykyk πŸ“š

🧚 ENVIRONMENT VARIABLES 🧚

so here's the tea: you can override the compiler, the linker, and whether or not static or shared libraries get used to compile your program, just by setting these environment variables accordingly:

  • HDF4_F77 β€” use a different Fortran 77 compiler πŸ’«
  • HDF4_F77LINKER β€” use a different linker πŸ”—
fr fr, that's the whole list of overrides. set them, don't set them, it's your call. no cap. πŸ’―

that's the page!! every option, every default, every env var, all of it. you're so welcome. πŸ’–

this lil icon was brought to you by the h4fc(1) manual page from 28 May 2016 β€” mwah, sending love to whoever wrote it. 🫢

okay bye bestie, go compile something iconic βœ¨πŸ‘‘

πŸ“¦ where this page comes from