mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-26 15:56:19 +00:00
74 lines
3.2 KiB
Plaintext
74 lines
3.2 KiB
Plaintext
gcc
|
|
________________________________________________________________________________
|
|
|
|
The GNU Compiler Collection (GCC) is an optimizing compiler produced by the GNU
|
|
Project supporting various programming languages, hardware architectures and
|
|
operating systems. The Free Software Foundation (FSF) distributes GCC as free
|
|
software under the GNU General Public License (GNU GPL). GCC is a key component
|
|
of the GNU toolchain and the standard compiler for most projects related to GNU
|
|
and the Linux kernel. With roughly 15 million lines of code in 2019, GCC is one
|
|
of the biggest open source programs in existence. It has played an important
|
|
role in the growth of free software, as both a tool and an example. [0]
|
|
|
|
Upstream: https://gcc.gnu.org/
|
|
|
|
|
|
[000] Index
|
|
________________________________________________________________________________
|
|
|
|
* Installation ........................................................... [001]
|
|
* Setup .................................................................. [002]
|
|
* Usage .................................................................. [003]
|
|
* Troubleshooting ........................................................ [004]
|
|
* C/CXX Compiler Cannot Create Executables ............................. [005]
|
|
* References ............................................................. [006]
|
|
|
|
|
|
[001] Installation
|
|
________________________________________________________________________________
|
|
|
|
+------------------------------------------------------------------------------+
|
|
| |
|
|
| $ kiss b gcc |
|
|
| |
|
|
+------------------------------------------------------------------------------+
|
|
|
|
|
|
[002] Setup
|
|
________________________________________________________________________________
|
|
|
|
GCC is the default compiler and is installed by default. No further setup should
|
|
be necessary short of compilation flags.
|
|
|
|
|
|
[003] Usage
|
|
________________________________________________________________________________
|
|
|
|
Refer to the manual pages and command help output.
|
|
|
|
|
|
[004] Troubleshooting
|
|
________________________________________________________________________________
|
|
|
|
|
|
--[005] C/CXX Compiler Cannot Create Executables -------------------------------
|
|
|
|
This is almost always an error in your CFLAGS/CXXFLAGS. Ensure that you have
|
|
used -ONUM (CAPITAL O) and not (lowercase o) or (zero 0). If this does not fix
|
|
the issue, try building the package with a cleaner environment.
|
|
|
|
+----------------------------------------------------------------------------+
|
|
| |
|
|
| $ CFLAGS= CXXFLAGS= LDFLAGS= kiss b pkg |
|
|
| |
|
|
+----------------------------------------------------------------------------+
|
|
|
|
If the issue still persists, open a bug at $/kisslinux/repo
|
|
|
|
|
|
[006] References
|
|
________________________________________________________________________________
|
|
|
|
[0] https://en.wikipedia.org/wiki/GNU_Compiler_Collection
|
|
|