Solved

Building perl 5.8.1 on AIX 4.3.3 with ibmcxx

Posted on 2003-11-07
7
357 Views
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.

thx
0
Comment
Question by:burgergold
  • 4
  • 3
7 Comments
 
LVL 61

Expert Comment

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

Author Comment

by:burgergold
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
0
 
LVL 61

Accepted Solution

by:
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
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

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

Expert Comment

by:gheist
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
0
 

Author Comment

by:burgergold
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?
0
 
LVL 61

Expert Comment

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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now