Solved

Building perl 5.8.1 on AIX 4.3.3 with ibmcxx

Posted on 2003-11-07
7
366 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 62

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 62

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
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!

 

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 62

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 62

Expert Comment

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

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Write an app 10 74
Need a version of telnet and/or ssh that supports tcp wrappers on AIX 5.1 16 105
How to check the PVU´s on AIX TSM servers? 3 121
check the file dates in unix 14 30
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

726 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