On 25/02/2014, at 7:42 AM, RF wrote: > > > Can I pass arguments to various drivers through flx_build_rtl? > > I don't understand. Flx_build_rtl just builds the RTL, using the > toolchain specified in toolchain.fpc. > > When I make an iOS rtl I can choose architecture(s) and SDK (5, 6, 7). It's > hardcoded to 7 at the moment, but tastes will vary. Luckily I'm the only > user, so I can set it to what I like.
Right, so you will require a target for all combinations, eg iOS-arm64-sdk5 You cannot do this with parameters because then you could generate, for example, object files for iOS-arm64: sdk5 iOS-arm64: sdk6 in the same directory and all hell would break lose linking them together. The only "variables" allowed to be passed are those that affect compiler warnings and optimisation. i.e. do not impact semantics and binary compatibility. Your problems won't end with the RTL. Felix code to do things requires bindings to C++ in the target system. Some of these are going to be Obj-C on iOS. If the way of doing, for example, a filesystem search is different in the different SDK's then the Felix library code will be impacted too. For multi-media using SDL, Felix delegates this problem by using SDL. So one lot of code will work for all platforms SDL supports, and it is up to the user to build an SDL for their platform. -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language