[rtems-docs commit] user: Clarify -fno-common changes

Sebastian Huber sebh at rtems.org
Mon Sep 12 06:55:11 UTC 2022


Module:    rtems-docs
Branch:    master
Commit:    283acbbfdd387da4cf80d87a3ecad6b47126928e
Changeset: http://git.rtems.org/rtems-docs/commit/?id=283acbbfdd387da4cf80d87a3ecad6b47126928e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep 12 09:01:12 2022 +0200

user: Clarify -fno-common changes

---

 user/migration/v5-to-v6.rst | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/user/migration/v5-to-v6.rst b/user/migration/v5-to-v6.rst
index d4691ff..7810e06 100644
--- a/user/migration/v5-to-v6.rst
+++ b/user/migration/v5-to-v6.rst
@@ -10,14 +10,14 @@ RTEMS 5 to RTEMS 6
 This section provides helpful information when migrating from RTEMS 5 to
 RTEMS 6.
 
-Update to GCC 10
-----------------
-
-The tool suite for RTEMS 6 uses GCC 10.  GCC 10 enables ``-fno-common`` by
-default.  Code bases which never used this option before may observe now
-multiple definition linker errors.  For example, if global variables are
-declared and defined in header files (usually a missing ``extern`` in the header
-file).
+Update to GCC 10 and Later
+--------------------------
+
+The tool suite for RTEMS 6 uses at least GCC 10.  GCC 10 and later enable
+``-fno-common`` by default.  Code bases which never used this option before may
+observe now multiple definition linker errors.  For example, if global
+variables are declared and defined in header files (usually a missing
+``extern`` in the header file).
 
 Replacements for Removed APIs
 -----------------------------



More information about the vc mailing list