This applies to GCC 4.2 on AIX 5.3 but probably applies elsewhere as well.

If gettext is installed, then gcc builds differently. (That is not surprising.)

gettext depends upon expat and expat depends upon libgcc_s.a. So there is a circle of dependancies. Again, all this is already known.

I was trying to determine what files are installed with "make install" with each of these packages. I am creating AIX installp images for these. So, I configured, compiled and installed them all in an iterative approach until they all built completely. Then I removed all of /usr/local and did "make install" inside expat, gcc, and gettext. It turns out that the install of gettext rebuilds some libraries so it must be installed last.

I took note of the files added or altered in each step.

I then, half by accident, did make install in the gcc directory and discovered that it installed 100 some more files. To summaries:

(cd expat ; make install ) << installed 6 files)
(cd gcc ; make install )  << installed 600+ files
(cd gettext ; make install ) << installed 1500+ files
(cd gcc ; make install ) << installed 777 files total (100+ more than the first time).

These are not the message files. All the new files are in these directories (or sub directories):

/usr/local/include/c++/4.2.0/powerpc-ibm-aix5.3.0.0/ppc64
/usr/local/include/c++/4.2.0/powerpc-ibm-aix5.3.0.0/pthread
/usr/local/include/c++/4.2.0/powerpc-ibm-aix5.3.0.0/pthread/ppc64
/usr/local/lib/ppc64
/usr/local/lib/pthread
/usr/local/lib/pthread/ppc64

I doubt if this is deliberate.

I have gone back and removed all of the gcc files and did make install after gettext is installed, and it installed all 777 files. So, it is not an iterative problem. There must be something in the makefile that assumes if some piece of gettext is not installed, the extra 100+ files are not needed.

I hope all that makes sense.

Perry
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems



Reply via email to