Building perl 5.8.1 on AIX 4.3.3 with ibmcxx

Posted on 2003-11-07
Last Modified: 2013-12-16
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.

Question by:burgergold
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 62

Expert Comment

ID: 9706628
what is your compiler - visualage or xlc ??? is it working i.e. ever bought???

Author Comment

ID: 9706680
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
LVL 62

Accepted Solution

gheist earned 45 total points
ID: 9706712
CFLAGS="opt1 opt2 cpu1 cpu2" ./configure
(for default /bin/ksh)
compiler has manual page for sure, and there are lots of options. if you do not find them just ask.
do not build optimized (ok - one version for 604e, another for POWER and third for RS64II), striping and sticking modules sometimes give greater effect
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 9706723
you suggest me to only use opt1 (-o2 for exemple) and no optimisation for the cpu? that's right?
LVL 62

Expert Comment

ID: 9706727
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

Author Comment

ID: 9706729
"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?
LVL 62

Expert Comment

ID: 9710737
Yes - code for more generic cpu will run 100x faster on your exact CPU.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question