Compiling PJSIP for both armv6 and armv7.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 14, 2010 at 1:18 PM, Even Andr? Fiskvik <eaf at oyatel.com> wrote:
> While we're speaking of patches, I discovered something in the configure-iphone script that I see no use of:
> export RANLIB="echo ranlib"
>

That is intentional. RANLIB is not needed in Mac/iPhone, but the build
system insists on running it, hence it is made like that.

 -Benny


> It compiles just fine without that line in the configure, so either it should be removed or changed to:
> Index: configure-iphone
> ===================================================================
> --- configure-iphone ? ?(revision 3343)
> +++ configure-iphone ? ?(working copy)
> @@ -103,7 +103,7 @@
> ?export CFLAGS="${CFLAGS} ${ARCH} -isysroot ${SDKPATH}"
> ?export LDFLAGS="${LDFLAGS} ${ARCH} -isysroot ${SDKPATH} -framework AudioToolbox -framework Foundation"
> ?export AR="${DEVPATH}/usr/bin/libtool -static -o"
> -export RANLIB="echo ranlib"
> +export RANLIB="${DEVPATH}/usr/bin/ranlib"
> ?# Use gcc -E as preprocessor instead of cpp, since cpp will find the
> ?# header files in standard /usr/include instead of in isysroot
> ?export CPP="${CC} ${ARCH} -E -isysroot ${SDKPATH}"
>
>
> Best regards,
> Even Andr?
>
> On 14. okt. 2010, at 01.58, Benny Prijono wrote:
>
>> On Wed, Oct 13, 2010 at 11:03 PM, Mr. Gecko <grmrgecko at gmail.com> wrote:
>>> Ok, here is the patch that will allow us to use the ARCH environment variable when compiling with GCC.
>>>
>>
>> That's better. I just check that in, thanks.
>>
>> Best regards,
>> Benny
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux