[MonoTouch] how to combine -aot "nimt-trampolines=4048" with -cxx -gcc_flags "-L${ProjectDir} -lMylibrary -force_load -lSystemLibrary -framework CFNetwork -ObjC"?
Jeff Stedfast
jeff at xamarin.com
Tue Oct 18 17:29:31 EDT 2011
Hi Weiyuent,
You should just be able to set "Additional mtouch arguments" to: -aot
"nimt-trampolines=4048" -cxx -gcc_flags "-L${ProjectDir} -lMylibrary
-force_load -lSystemLibrary -framework CFNetwork -ObjC"
I don't see any reason that wouldn't work.
Jeff
On Mon, Oct 17, 2011 at 6:41 PM, weiyuent <spammable at pobox.com> wrote:
> So, I need to combine two sets of additional mtouch arguments:
>
> 1) To stop my WCF code from crashing with the "not enough trampolines"
> error, I need this:
> -aot "nimt-trampolines=4048"
>
> 2) In order to link objective C libraries (e.g. Red Laser), I need this:
> -cxx -gcc_flags "-L${ProjectDir} -lMylibrary -force_load -lSystemLibrary
> -framework CFNetwork -ObjC"
>
> However, I can't figure out how to combine both sets of arguments in a way
> that works. Putting them one after the other doesn't seem to have any
> effect.
>
> Can someone please suggest what the correct procedure should be?
>
> Thanks
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/how-to-combine-aot-nimt-trampolines-4048-with-cxx-gcc-flags-L-ProjectDir-lMylibrary-force-load-lSyst-tp3913637p3913637.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111018/75e95ff6/attachment.html
More information about the MonoTouch
mailing list