> From: Jarkko Hietaniemi [mailto:[EMAIL PROTECTED]]
> > 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.


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

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

Configure -Dcc=gcc -des -Duse64bitall \
          -Aldflags="-mcpu=v9 -m64" \
          -Alddlflags="-mcpu=v9 -m64 -G" 

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ür Informatik und Telekommunikation BIT
Monbijoustrasse 74, CH-3003 Bern
Tel. +41 31 322 24 46

added interaction www.informatik.admin.ch



Reply via email to