Link to home
Start Free TrialLog in
Avatar of burgergold
burgergold

asked on

Building perl 5.8.1 on AIX 4.3.3 with ibmcxx

Hi, I want to build and install perl 5.8.1 on AIX 4.3.3 and I have ibmcxx for compiler. I've already done it one time without any optimization parameter and I'm looking to include some (architecture and optimize for exemple)

How could I build my ./configure to have the best build as I can. It should be stable because it would be on many server in prod.

thx
Avatar of gheist
gheist
Flag of Belgium image

what is your compiler - visualage or xlc ??? is it working i.e. ever bought???
Avatar of burgergold
burgergold

ASKER

the compiler is "ibmcxx".

I've already suceed to compile it, but without any optimisation. I want to compile it again with optimisation for PowerPC and something like -o2 but I don't know how to build my configure command for that
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you suggest me to only use opt1 (-o2 for exemple) and no optimisation for the cpu? that's right?
and install bos.adt.samples to see if non-generic code does not use CPU emulator using emstat
./configure --help is your biggest friend when finding where to add what options
"and install bos.adt.samples to see if non-generic code does not use CPU emulator using emstat"

if it happens, do I have something different to do?
Yes - code for more generic cpu will run 100x faster on your exact CPU.