[EMAIL PROTECTED] wrote:
> 
> > > Solaris 8 ships with a perl that was compiled with Sun cc.
> > > Thus to install modules/etc that require compilation, you
> > > must use Sun cc.  Even if you install gcc, you cannot compile
> > > code that will link correctly with sun's supplied perl.
> > >
> > > Answer:  Buy sun's cc, or recompile perl with gcc.
> >
> > Not true, to the best of my knowledge.
> >
> > Create a wrapper script called cc that changes its command line arguments
> > as follows:
> >
> > -xO${n} -> -O${n}
> > -KPIC -> -fPIC
> > -Kpic -> -fpic
> >
> > and then invokes gcc. It should work like a charm.
> 
> Really?  I was told by numerous folks, including some from sun
> that it wouldn't work.  I'm going to high-tail it over and give
> this a try.

It works perfectly. I've done this since early Solaris 8 release. Maybe
there is some more options to change (e.g. 'cc' -> 'gcc'), but it is
fast and efficient solution.

-- 
                            Ing. Radovan Semancik ([EMAIL PROTECTED])
                         System Engineer, Business Global Systems a.s.
                                   http://storm.alert.sk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to