Building for both i386 and ppc on Intel Mac

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

 



On Wed, Jan 28, 2009 at 12:38 PM, Alexei Kuznetsov <eofster at gmail.com>wrote:

> Are you talking about this?
>
> $ CFLAGS="-arch ppc -arch i386" ./configure
> $ make dep
> $ make
> for dir in pjlib pjlib-util pjnath third_party pjmedia pjsip pjsip-apps; do
> \
>                if make  -C $dir/build all; then \
>                    true; \
>                else \
>                    exit 1; \
>                fi; \
>        done
> make -f /Users/alexei/Development/pjproject-test2/build/rules.mak APP=PJLIB
> app=pjlib ../lib/libpj-i386-apple-darwin9.6.0.a
> .pjlib-i386-apple-darwin9.6.0.depend:1: *** missing separator.  Stop.
> make[1]: *** [pjlib] Error 2
> make: *** [all] Error 1
>
>
Yes.


>
> I'm getting this error on the clean, newly fetched, source. But "make dep"
> output had a lot of these lines:
> gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple
> -arch flags
>
>
That could be the reason. If you peek at one of the .depend file perhaps you
can find something interesting there (like an error message perhaps).



> If I try to run "make distclean" after the steps above, I will get this:
> [rm -rf, rm -rf, rm -rf]
> make -f /Users/alexei/Development/pjproject-test2/build/rules.mak
> APP=RESAMPLE app=libresample realclean
> .libresample-i386-apple-darwin9.6.0.depend:1: *** missing separator.  Stop.
> make[2]: *** [realclean] Error 2
> make[1]: *** [distclean] Error 1
> make: *** [distclean] Error 1
>
>
Hmm I thought "make distclean" doesn't need to import the .depend file. Oh
well, in that case, 'make dep' is broken for universal binaries then. That
should be fine, as long as you remember to rebuild everything when you make
any modifications to pjsip code.

cheers
 Benny



> Alexei
>
>  cheers
>>  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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090128/e66be132/attachment.html>


[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