RE: Problems building 64BIT perl on Solaris.

[email protected] Thu, 12 Dec 2002 14:14:23 +0100
Newsgroups perl.64bit
Message-ID <[email protected]>

> From: Jarkko Hietaniemi [mailto:[email protected]]
> > There's a missing '-G' in there.  That's supposed to be in=20
> 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=20
> executable
> > file.
> >=20
> > Now why the hints file missed it, I don't know, but that's the
> > problem.


Thanks for the info. The -G flag does it.

I managed to solve my problem thus:
(On a clean source)

Configure -Dcc=3Dgcc -des -Duse64bitall \
          -Aldflags=3D"-mcpu=3Dv9 -m64" \
          -Alddlflags=3D"-mcpu=3Dv9 -m64 -G"=20

Then "make", which proceeds without problem. All the tests in "make =
test"
pass.

So now I have a 64 bit Perl. I successfully managed to build a 64 bit
DBD::Oracle on top of that. (Linked against the 64 bit libs of Oracle =
9)

I think the solaris hints file has a few problems. I have an idea where =
that
might be, but will look into that further once I'll have some more =
time.

Greetings,

Krist van Besien

---
Krist van Besien
Unix Specialist BZBD
Bundesamt f=FCr Informatik und Telekommunikation BIT
Monbijoustrasse 74, CH-3003 Bern
Tel. +41 31 322 24 46

added interaction www.informatik.admin.ch