You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Jonathan Melissant <jo...@gmail.com> on 2012/05/12 14:23:56 UTC

APR util for c6x

Once I managed to succesfully compile APR for the c6x, compiling APR util
was easy, as it uses the libtool from apr.

 I call the following command to configure, make and install apr util:

ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes
apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=yes
apr_cv_tcp_nodelay_with_cork=yes ac_cv_sizeof_struct_iovec=8
apr_cv_mutex_recursive=yes ./configure --enable-static --host=c6x
--prefix=$(pwd)/output CPP=c6x-uclinux-cpp CC=c6x-uclinux-gcc
AR=c6x-uclinux-ar ARFLAGS=rv --disable-ipv6 OBJDUMP=c6x-uclinux-objdump
build_libtool_libs=yes AS=c6x-uclinux-as NM=c6x-uclinux-nm
deplibs_check_method="pass_all" STRIP=c6x-uclinux-strip
RANLIB=c6x-uclinux-ranlib CFLAGS=" -pipe -Os "
--with-apr=~/c6x/apr-1.4.6/output/bin/apr-1-config

make && make install