Building ON with GCCYou can always get the latest status of the GCC project here. We also maintain links to the gcc binaries and sources you'll need in order to build, and any useful tools, scripts, or tests we create. What is this?A requirement for OpenSolaris is the ability to build a working set of bits using either recent Sun Studio tools or the GNU compiler collection. So what's being done about it?Most of the ON source has been built only with Sun Studio compilers (or their predecessors, which had different names but offered the same basic set of functionality), and did not build cleanly or in some cases at all with any other compiler. A project was kicked off at the end of March 2005 to provide the needed support for building with gcc. The results of that project are here: a set of compilers that build a set of working bits without warnings or errors, and the source modifications needed to permit that However, the project did not integrate in time for OpenSolaris, and was being maintained as a separate project gate until integration in March 2006. So where are the sources?The latest ON sources (beginning early in build 38) are now compatible with gcc. How can I help?You can participate in the tools-gcc discussion. Although this project has integrated, there is no ongoing requirement for project teams to test their work built with gcc. You can help maintain and improve the quality of ON with respect to gcc by building and install on a variety of machines and opening bugs for any compiler-dependent problems you find. Normally, all code in ON is built with both compilers to ensure that it remains free or warnings and errors. However, objects built with gcc are discarded; if you want to obtain gcc-built objects, see the build instructions. Project teams and other implementors targeting ON need to be sure their code obeys the rules of common decency. Fixing these mistakes is usually very straightforward, though testing can sometimes be tricky. |