This section contains information related to developing GCC on OS/2.
Repository Structure
The original Qt source code is in SVN with a GIT mirror. The web interface for the GIT repository is available at https://gcc.gnu.org/git/?p=gcc.git.
We don't, however, maintain a complete clone here for exactly the same reasons we don't do that when working on our Qt 5 port - to save time/space when checking out local clones and to stay focused on the OS/2 development (the upstream repository is updated very frequently, several comments every hour or such). Instead, we use a technique of "squashing" to combine all upstream commits into one. Please refer to this page where it all described in detail: https://github.com/bitwiseworks/qt5-os2/wiki/Developers#repository-structure. This page also describers the tag pocliy and steps to update our repository to a new version from upstream. These steps should be followed with an exception that the upstream repository URL is git://gcc.gnu.org/git/gcc.git and the format of OS/2 tags for GCC is as follows : gcc-X_Y_Z-release-os2[-NNN] - to follow the original GCC tag layout which is gcc_X_Y_Z-release and should be also preserved when marking imports on the vendor branch and further merges to master. The commit message templates for imports and merges, consequentially, are:
Building GCC
These instructions assume you have the RPM/YUM environment installed. See http://svn.netlabs.org/rpm for details.
- Install the necessary packages from RPM with:
- Clone the source tree (e.g. to
gcc/master).
- Make a build directory outside the source tree (e.g.
gcc/master-build).
- Run autoconf && configure & make && install using the following shell script (assuming you are in
gcc):