Documentation Development GCC Tools Beat

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(30 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}}
  
== GCC upgraded in alpha ==
 
  
'''Note: gcc has upgraded from 4.4.2 to 4.4.3'''
+
== GCC ==
This includes gcc, gcc-c++, gcc-fortran, gcc-gnat, and gcc-objc.
+
GCC now uses DSO linking (Dynamic Shared Object 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)
  
[[Features/ChangeInImplicitDSOLinking |Implicit DSO Linking ]]
+
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.
Key points:
+
# ld will no longer automatically search in the dependencies of linked objects.
+
# If your project used both libraries A and B, it will not compile unless A and B are both explicitly linked.
+
# There are more explanations on the Features page. [[UnderstandingDSOLinkChange |here]]
+
  
Under the new changes, if your package fails its build with a message like:
+
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: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0'
 
  /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
 
  
 +
== GLIBC ==
  
Then the line that builds the specified .o needs to explicitly link libm.
+
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
  
 
+
[[Category:Docs Project]]
 
+
[[Category:Draft documentation]]
<noinclude>[[Category:Release Notes]]<noinclude>
+
[[Category:Documentation beats]]
[[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