Sivakumar.Shanmugasundaram at Sun.COM wrote:
> Not so simple, it seems.

gcc is probably too large to expect 'simple' to apply
often :)

> 
> There are some include files (like objc.h), which do get installed after 
> a build in the $BASE/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/include 
> directory. But the moment I run 'install', this 'include' directory gets 
> removed by the shell script 'install-sfw'.

Yes, that's explained in the comment above it:

--
# First, nuke the "fixincludes" headers that gcc installs.
# We need to create these on the install machine at
# package install time.

rm -rf ${ROOT}/usr/sfw/lib/gcc/${MACHNAME}/${GCCVER}/include
--

If the Objective-C headers that go there are straight from gcc
(and don't somehow get created based on headers from Solaris)
then you'll need to change that logic to leave the Objective-C files
alone but still delete the others. If not you may need to
investigate usr/src/pkgdefs/SUNWgcc/postinstall.tmpl.

        Mike

Reply via email to