mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 18:46:43 +08:00
user: Clarify -fno-common changes
This commit is contained in:
parent
13be9a2b28
commit
283acbbfdd
@ -10,14 +10,14 @@ RTEMS 5 to RTEMS 6
|
|||||||
This section provides helpful information when migrating from RTEMS 5 to
|
This section provides helpful information when migrating from RTEMS 5 to
|
||||||
RTEMS 6.
|
RTEMS 6.
|
||||||
|
|
||||||
Update to GCC 10
|
Update to GCC 10 and Later
|
||||||
----------------
|
--------------------------
|
||||||
|
|
||||||
The tool suite for RTEMS 6 uses GCC 10. GCC 10 enables ``-fno-common`` by
|
The tool suite for RTEMS 6 uses at least GCC 10. GCC 10 and later enable
|
||||||
default. Code bases which never used this option before may observe now
|
``-fno-common`` by default. Code bases which never used this option before may
|
||||||
multiple definition linker errors. For example, if global variables are
|
observe now multiple definition linker errors. For example, if global
|
||||||
declared and defined in header files (usually a missing ``extern`` in the header
|
variables are declared and defined in header files (usually a missing
|
||||||
file).
|
``extern`` in the header file).
|
||||||
|
|
||||||
Replacements for Removed APIs
|
Replacements for Removed APIs
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user