develooper Front page | perl.64bit | Postings from December 2002

Re: Problems building 64BIT perl on Solaris.

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
December 11, 2002 11:07
Subject:
Re: Problems building 64BIT perl on Solaris.
Message ID:
20021211190737.GO261145@lyta.hut.fi
I asked a Solaris build guru, and he replied:

> > LD_RUN_PATH="" gcc  -mcpu=v9 -m64 -L/usr/local/lib -L/usr/lib/sparcv9 C.o
> > -o ../../../lib/auto/B/C/C.so
> > Undefined                       first referenced
>         [etc.]
> 
> There's a missing '-G' in there.  That's supposed to be in lddlflags.
> hints/solaris_2.sh was supposed to add that flag -- it's what's used
> to tell ld that it's building a shared library, not a full executable
> file.
> 
> Now why the hints file missed it, I don't know, but that's the
> problem.

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About