Tool to compile and run C programs like a shell script.
First of all, this is not the same as tcc. TCC is a compiler. TCC will perform
its own set of optimizations, just as GCC will perform its own and Clang will
perform its own. The purpose of this script is to give a simple front-end to a
compiler.
Whether it's GCC, Clang, or something else entirely, one can get to choose
their compiler. It's simply satisfying to type c hello.c and see it run
instantly.
C is fast. Being able to write a small, fast, and portable C "script" is great.
One can pass around a C "script" just like s/he would a BASH script.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . c
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )