binfmtf(1)

πŸ“¦
version 0.17 Β· 2 versions
  • 0.17 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute (latest)
  • 0.17 Β· ubuntu stonking
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– NAME πŸ’–

okay so bestie, gather round β€” this is binfmtf-interpreter, aka the binfmt_misc fortran handler. she's the girl who takes your Fortran source file and actually makes it go. ✨


✨ SYNOPSIS ✨

binfmtf-interpreter fortran-source-file-name [command-line opions ...]

(yes the typo is canon, we do not touch the sacred text πŸ’…)


πŸŽ€ DESCRIPTION πŸŽ€

So here's the tea, bestie: binfmtf-interpreter compiles a fortran source file β€” the one you named on the command line β€” using the g77 compiler, and then executes the resulting file. compile + run, one move, no cap. πŸ’…

She's built to be a handler for binfmt_misc β€” which is that Linux system where arbitrary files get handled as executables. like, your random file walks in and the kernel is like "wait, this is an executable now" and honestly? iconic.

Any command-line options you pass? They get passed on to the compiled binary. not hoarded, not eaten, just forwarded. generous queen. 🫢


πŸ¦‹ FILE MAGIC πŸ¦‹

There is a requirement, and we do not negotiate with requirements: Fortran source files must have the magic characters

c BINFMTF:

at the beginning of the file. that's the vibe check. pass it or don't play. 😭

And plot twist β€” that same line is also where you specify the additional command-line options for the Fortran compiler. one line, two jobs, she's working overtime and she's not even complaining. πŸ’–


🌸 ENVIRONMENT 🌸

the environment variables, served fresh:

  • G77 β€” the compiler used. the default is to use g77. 🐸
  • BINFMTCTMPDIR β€” temporary directory used for the binary and execution. it falls back to $TMPDIR, $TEMPDIR, or /tmp. so it's got a whole backup squad. πŸ’…
  • BINFMTC_DEBUG β€” enables debug output if set. so if you're nosy (affectionate), this is for you πŸ‘€
  • BINFMTC_G77_OPTS β€” additional G77 options. and listen, use BINFMTC_DEBUG to verify the options being passed on to g77 β€” trust, you wanna see them. the default is -O2 -Wall. periodt. πŸ”₯

πŸ’… AUTHOR πŸ’…

Junichi Uekawa (dancer@debian.org) β€” the actual legend, the main character, the reason we're all here. πŸ‘‘

Upstream page is available at http://www.netfort.gr.jp/~dancer/software/


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr:


and that's the whole page bestie!! this one is from binfmt_C, goes by Dancer, and it's dated 2005 Jun 4 β€” yes she's an elder but she's still serving. binfmtf(1) out. mwah πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from