Documentation Development GCC Tools Beat

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(39 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Admon/warning | F13 | Beat owner should begin placing Fedora 13 content in this beat. }}
+
{{header|docs}}
 +
{{Docs_beat_open}}
  
'''Note: gcc has upgraded from 4.4.2 to 4.4.3'''
 
This includes gcc, gcc-c++, gcc-fortran, gcc-gnat, and gcc-objc.
 
  
 +
== GCC ==
  
[[Features/ChangeInImplicitDSOLinking |Implicit DSO Linking ]]
+
As of Fedora 19, GCC 4.8.x is shipped as the default GCC. In addition, all Fedora packages have been rebuilt with GCC 4.8.x (and GLIBC 2.17; see below)
Key points:
+
# ld will no longer automatically search in the dependencies of linked objects.
+
# If your project used both A and B, it will not compile unless A and B are both explicitly linked.  
+
# There are more explanations on the Features page.
+
  
Under the new changes, if your package fails ti build with a message like:
+
Users will be able to see compiled code improvements and use the newly added features, such as improved C++11 and C11 support, improved vectorization support, etc.
  
  /usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0'
+
For more information on the changes in GCC 4.8.x, please see http://gcc.gnu.org/gcc-4.8/changes.html
  /usr/bin/ld: note: 'acos@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
+
  
Then you the line that builds the specified .o needs to explicitly link libm.
 
  
More examples are [[UnderstandingDSOLinkChange |here]]
+
== GLIBC ==
  
 +
As of Fedora 19, GLIBC 2.17 is shipped as the default GLIBC. All Fedora packages have been rebuilt with GLIBC 2.17 (and GCC 4.8.x; see above).
  
<noinclude>[[Category:Release Notes]]<noinclude>
+
For more information on the changes in GLIBC 2.17, please see http://sourceware.org/ml/libc-announce/2012/msg00001.html
[[Category:Documentation_beats]]
+
 
 +
[[Category:Docs Project]]
 +
[[Category:Draft documentation]]
 +
[[Category:Documentation beats]]

Revision as of 23:32, 30 April 2013

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 21 content added by the beat writer


GCC

As of Fedora 19, GCC 4.8.x is shipped as the default GCC. In addition, all Fedora packages have been rebuilt with GCC 4.8.x (and GLIBC 2.17; see below)

Users will be able to see compiled code improvements and use the newly added features, such as improved C++11 and C11 support, improved vectorization support, etc.

For more information on the changes in GCC 4.8.x, please see http://gcc.gnu.org/gcc-4.8/changes.html


GLIBC

As of Fedora 19, GLIBC 2.17 is shipped as the default GLIBC. All Fedora packages have been rebuilt with GLIBC 2.17 (and GCC 4.8.x; see above).

For more information on the changes in GLIBC 2.17, please see http://sourceware.org/ml/libc-announce/2012/msg00001.html