On Jan 15,  6:52pm, Jarkko Hietaniemi wrote:
> > Yes, actually:
> > 
> > cc -mips4 -n32 -L/server/people/staff/easmith/lib32 -L/usr/lib32/mips4
> > -L/usr/lib32 -L/lib32 
>-Wl,-rpath,/server/people/staff/easmith/lib32:/usr/lib32/mips4:/usr/lib32:/lib32 
>-Wl,-multigot -woff 1110
> > 
> > Hmm... interesting. Unsetting this results in Makefile.PL succeeding
> > in producing a Makefile, which successfully does a make and make test:
> 
> A-ha!

Indeed.

> > I'm afraid it didn't produce any further info. It looks to be the
> > checking for $ENV{CC} that's the problem. I'm also wondering about the 
> > 'basename' in there if $cc isn't executable - it won't be if $cc is
> > more than just "cc" or "gcc". Ah. Yes. I stuck in lines to print out
> > $cc before and after that step, and got:
> > 
> > cc is cc -mips4 -n32 -L/server/people/staff/easmith/lib32 -L/usr/lib32/mips4 
>-L/usr/lib32 -L/lib32 
>-Wl,-rpath,/server/people/staff/easmith/lib32:/usr/lib32/mips4:/usr/lib32:/lib32 
>-Wl,-multigot -woff 1110
> > cc is lib32 -Wl,-multigot -woff 1110
> 
> Okay, the basename() logic obviously needs a rethink.

I'm afraid so. Split by spaces and only (possibly) do basename on the
first part, and even then leave it alone (go back to how it was) if
_that_ doesn't produce an executable result?

> > > I don't think the BSD::Resource currently supports the *64() versions.
> > 
> > Well, no, but I thought you might like to know about them... I would
> 
> I knew of them but haven't bothered so far, there be icky portability
> issues there that I'd rather let sleep in peace...

No problem - I avoid using anything but n32-mode on IRIX systems. (For 
one thing, not all of our computers will _run_ 64-bit mode...)

> > be curious if this is how other mixed 32/64-bit systems (if there are
> > any other than IRIX) are doing things.
> 
> Of all systems I know of IRIX makes the most effort for a mixed mode,
> others take more either-or approach.

I had gotten that impression previously... It's also caused some
Fortran compilation difficulties with another module (either bioperl
or PDL, I forget which).

        Thanks,

        -Allen

-- 
Allen Smith                     [EMAIL PROTECTED]
September 11, 2001              A Day That Shall Live In Infamy II
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin

Reply via email to