[x264-devel] x264 compiled on AIX

Mauricio Alvarez alvarez at ac.upc.edu
Wed Sep 21 13:15:08 CEST 2005


Hi

I have compiled x264 on a Power/AIX system.

Now I have a working x264 encoder, but i have made some changes for that:

The system is AIX-5.2 on a Power architecture

uname -a
AIX sp2n1 2 5 000506444C00

I modified the configure script in order to include an option for AIX in
 the systems section. AIX does not have getopt.h, so it is necessary to
tell that.
AIX)
    SYS="AIX"
    LDFLAGS="$LDFLAGS -lm"
    HAVE_GETOPT_LONG=0


and also I added section for a new platform for Power
000506444C00)
    ARCH="POWER"

I can not use the PPC defined architecture because Power(3/4/5)
processors do not have altivec instructions.

I know that "000506444C00" is not the best name for the platform, but I
dont know another way to identify the processor in AIX. It seems that
uname -m in AIX returns an ID for the machine not the platform type.


Addtionaly I have some minor problems:

i) the compiler can not find the getopt.h, I need to change getopt.c and
x264.c for making en explicit include of "getopt.h"

ii) install in AIX does not support "-d" option

After I hear some of your comments I can post a small patch for
including these changes.

Thanks

Mauricio Alvarez

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list