This is an old revision of the document!
Versions of GCC
There are many versions of gcc in the ports tree.
- It is painful for builders (especially the ones using qemu) to have so many versions.
- Some only exist to satisfy dependencies.
This page discusses the list of ports that we should try to update to reduce the dependencies.
Current versions in the tree
The usage column does not include ports that hardwire the version.
NOTYET See HardcodedLLVMVersions for that list.
| port | usage | status | comments |
| llvm60 | fallback via USES=xyz for GCC-based systems | obsolete | defined in Uses/compiler.mk |
| llvm70 | USES=obj (mostly gnustep-derived ports) | obsolete | defined in Mk/Uses/objc.mk; last changed as of r492056 |
| llvm80 | still widely used | supported | |
| llvm90 | tree-wide default | supported | defined in Mk/bsd.default-versions.mk |
Dependency statistics
Processing INDEX-13 20191202 (and deleting self-references) produces:
25 /tmp/llvm6 37 /tmp/llvm7 206 /tmp/llvm8 54 /tmp/llvm9