Looks like I have got it finished. I was able to build SUNWgcc package,
with Objective-C compiler and use it to build GNUstep environment and
applications.
Now, could some one please let me how I putback the changes? Should I
send a request for sponsor at OS.o ?
Thanks
Siva
Mike Sullivan wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sivakumar.Shanmugasundaram.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/sfwnv-discuss/attachments/20070207/7cb63923/attachment.vcf>