# gcc-9 --version gcc-9 (Debian 9.2.1-19+dyson1) 9.2.1 20191109 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The Stack Smashing Protector (SSP) is disabled by default (enable with
-fstack-protector switches). This is because libc does not support SSP yet, and thus libssp from GCC is required. But when SSP is enabled by default, the libssp library is not passed to the linker. Additionally, when enabled by default, SSP may be required when building GCC itself.
/lib directory is removed from default library path. All development libraries have to reside under
/lib contains some for illumos linker (
sunld) specifically (e. g.
/usr/lib is a GNU linker script). Removal of
/lib ensures that the normal linker will not pickup the wrong library.
As usually, documentation and man pages are included.
With GNU Modula-2:
# cat test.mod MODULE Hello; FROM StrIO IMPORT WriteString; BEGIN WriteString("Hello World!"); END Hello. # gm2-9 test.mod -o test # ./test Hello World!