Download Red Hat Enterprise Linux 6 Developer Guide
Transcript
Red Hat Ent erprise Linux 6 Developer G uide used as a temporary aid in transitioning sources to newer compilers with changed behavior, or as a convenient way to otherwise isolate differences in the system environment from the compile environment. Note Please be advised that Red Hat may remove these packages in future Red Hat Enterprise Linux releases. The following packages provide compatibility tools for compiling Fortran or C++ source code on the current release of Red Hat Enterprise Linux 6 as if one was using the older compilers on Red Hat Enterprise Linux 4: co mpat-g cc-34 co mpat-g cc-34 -c+ + co mpat-g cc-34 -g 77 The following package provides a compatibility runtime library for Fortran executables compiled on Red Hat Enterprise Linux 5 to run without recompilation on the current release of Red Hat Enterprise Linux 6: co mpat-l i bg fo rtran-4 1 Please note that backwards compatibility library packages are not provided for all supported system libraries, just the system libraries pertaining to the compiler and the C/C++ standard libraries. For more information about backwards compatibility library packages, see the Application Compatibility section of the Red Hat Enterprise Linux 6 Migration Guide. 4 .1.5. Previewing Red Hat Ent erprise Linux 6 compiler feat ures on Red Hat Ent erprise Linux 5 On Red Hat Enterprise Linux 5, we have included the package g cc4 4 as an update. This is a backport of the Red Hat Enterprise Linux 6 compiler to allow users running Red Hat Enterprise Linux 5 to compile their code with the Red Hat Enterprise Linux 6 compiler and experiment with new features and optimizations before upgrading their systems to the next major release. The resulting binary will be forward compatible with Red Hat Enterprise Linux 6, so it can be compiled on Red Hat Enterprise Linux 5 with g cc4 4 and run on Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, and above. The Red Hat Enterprise Linux 5 g cc4 4 compiler will be kept reasonably in step with the GCC 4.4.x that we ship with Red Hat Enterprise Linux 6 to ease transition. Though, to get the latest features, it is recommended Red Hat Enterprise Linux 6 is used for development. The g cc4 4 is only provided as an aid in the conversion process. 4 .1.6. Running GCC To compile using GCC tools, first install bi nuti l s and g cc; doing so will also install several dependencies. 66