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 thelib/andinclude/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.h4fcuses 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
- debian bookworm: hdf4-tools 4.2.15-5 Β· HDF4
- debian trixie: hdf4-tools 4.3.0-1+b1 Β· HDF4
- ubuntu jammy: hdf4-tools 4.2.15-4 Β· HDF4
- ubuntu noble: hdf4-tools 4.2.16-4build1 Β· HDF4
- ubuntu questing: hdf4-tools 4.3.0-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms