CPROC(1)
π CPROC β the C11 compiler bestie π
okay so this is the manual page for cproc, a section 1 (General Commands) page from the Debian corner of the internet. Buckle up, we're compiling π§β¨
πΈ NAME πΈ
cproc β a C11 compiler. That's it, that's the girl. π
β¨ SYNOPSIS β¨
cproc [options] sources...
π DESCRIPTION π
cproc is a C11 compiler that uses QBE as its backend. It supports ISO C11, plus some features from the upcoming C23, plus some GNU C extensions. Versatile queen. π
When you invoke it with, like, no options at all, cproc will preprocess, compile, and link your sources..., and generate an executable a.out file. Full pipeline, main character energy. π
The following options are available:
-cβ Compile the sources to object files instead of linking them. (So close to a full executable, but not quite β it's giving "almost". π)-Dmacro[=value]β Define macro to value, as if you did a preprocessor#define. If value isn't given, macro gets defined to1. Defaults, slay. π-Eβ Preprocess the input files and print the output, instead of compiling. Just the preprocessing part, no compiling. π¦-Ipath β Append path to the list of directories searched for headers. π-Lpath β Append path to the list of directories searched for libraries. π-llibrary β Link library into the executable. If library is a relative path, it'll be searched through the compiler search paths. π-ooutput β Write the output to output. By default, output goes toa.out. Or, if-cis used, the output file is determined by replacing the source file extension with.o. Or, if-Eor-emit-qbeis used, the output is written to standard output. So many vibes, so many destinations. π-sβ Strip the symbol table from the generated executable. Bye bye symbols π-Umacro β Undefine a pre-defined macro. The reverse of-D, iconic duo. π-vβ Print the commands run as part of the compile pipeline. Nosy? Yes. Useful? Also yes. π-xformat β Forcecprocto interpret subsequent source files as format. By default,cprocdetermines the source code language from the known file extensions. This option forces a different format, and it can be one ofnone,c,c-header,cpp-output,qbe,assembler,assembler-with-cpp. Pick your fighter. β-Wa,args...,-Wl,args...,-Wp,args...β For each of these options, pass additional args... to the assembler, linker, or preprocessor respectively. The list of arguments is delimited by commas. π₯
For example, -Wl,--gc-sections will forward the option --gc-sections to the linker. See? Comma-delimited, no cap.
-staticβ Link the executable statically. πΏ-nostdlibβ Do not use standard library and startup files when linking. Going feral, no standard library. π-nostdincβ Do not search default compiler include paths when compiling. π-pthreadβ This is a short hand of-lpthread. Threads, bestie. π§΅-g,-O,-pipe,-pedanticβ These options are available for compatibility with most common compilers, but they are currently ineffective. They're there for the vibes, fr fr. They don't actually do anything right now. π«Ά
π AUTHORS π
cproc was written by Michael Forney <mforney@mforney.org>. King behavior. π
And that's the whole page, bestie β this was the CPROC(1) manual from the Debian General Commands Manual, dated $Mdocdate$. Go forth and compile something iconic. β¨π
π
π¦ where this page comes from
- fedora 43: cproc 0.0^20240428.f66a6613-3.fc43 Β· ISC AND MIT
- fedora 44: cproc 0.0^20240428.f66a6613-3.fc43 Β· ISC AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms