[csw-announce] new packaging for gcc 2.95.3

Peter FELECAN pfelecan at acm.org
Wed Jan 5 20:25:15 CET 2005


The GNU Compiler Suite 2.95.3 is re-packaged and available for
download.

This revision is a re-packaging for Blastwave and change the
following:

1. there is no more a wrapper script and all the paths are taken care
   of in the specs file.

2. the branch 2 compiler is installed in /opt/csw/gcc2, similar to the
   branch 3, and the rt packages install the versioned shared
   libraries in /opt/csw/lib

3. there is a fixinclude stage executed in the postinstall script for
   gcc2core.

4. the granularity of the packages is identical to that of the FSF,
   i.e. gcc2core, gcc2g++, gcc2g77, gcc2java, gcc2objc, gcc2chill and each one
   has a corresponding runtime package, e.g. gcc2corert; a similar
   granularity will be found in the branch 3.

        gcc2core  C compiler
		gcc2g++   C++ compiler
		gcc2g77   FORTRAN compiler
		gcc2java  Java compiler
		gcc2objc  Onjective C compiler
		gcc2chill Chill Compiler

5. the packages inter-dependencies are as follows:

	gcc2corert:
	
	gcc2core:	\
				gcc2corert
	
	gcc2g++rt:	\
				gcc2corert
	
	gcc2g++:	\
				gcc2core \
				gcc2g++rt
	
	gcc2g77rt:	\
				gcc2corert
	
	gcc2g77:	\
				gcc2core \
				gcc2g77rt
	
	gcc2javart:	\
				gcc2corert
	
	gcc2java:	\
				gcc2core
				gcc2javart
	
	gcc2objcrt:	\
				gcc2corert
	
	gcc2objc:	\
				gcc2core \
				gcc2objcrt
	
	gcc2chillrt:\
				gcc2corert
	
	gcc2chill:	\
				gcc2core \
				gcc2chillrt

6. all the packages were tested using the latest testsuite (3.4.3),
   with the exception of Java and CHILL which doesn't have test sets,
   on Solaris SPARC 9 and Solaris Intel 8

7. The gcc2rt and gcc2 packages are now stubs for the replacement of
   the old packages. Their dependencies are as follows:

   gcc2rt: \
           gcc2corert \
           gcc2g++rt

   gcc2: \
         gcc2core \
         gcc2g++ \
         gcc2rt

It should also be noted that:

1. /opt/csw has precedence in searching headers, libraries and dynamic
   libraries. An alternative specs files is supplied for those who
   don't like this: /opt/csw/gcc2/lib/gcc-lib/*/2.95.3/specs.noncsw

2. /usr/local/include or /opt/sfw/include are not part of the default
   include search path.

3. there is no dependency on <sys/cdefs.h>

4. -mcpu=v8 is the default on SPARC (instead of -mcpu=v7)

5. each package has its documentation in a specific directory in
   /opt/csw/share/doc, the common documents are linked to the gcc2core
   directory, and additionally contains the documentation in PDF.

6. when linking an Objective-C file, you need to provide the -lrt
   option for the multi-tasking library.

-- 
Peter FELECAN
mailto:pfelecan at acm.org



More information about the announce mailing list