On 21/02/2014, at 7:52 AM, Martin DeMello wrote:

> On Wed, Feb 19, 2014 at 5:45 PM, john skaller <skal...@users.sourceforge.net> 
> wrote:
> Now (2) is tricky. It's really no good expecting people to manually
> edit files. Felix developers, sure. But users, no. In fact upgrading
> and maintaining Felix with a CLI is too hard.
> 
> We need some kind of IDE.
> 
> What confgurations exactly are you planning on exposing this way? If someone 
> is,
> e.g. changing the path to their gcc compiler, I don't think expecting them to 
> edit a well-documented text file is unreasonable - /etc/ is full of examples.

Suppose you have a Felix build, with addons like gmp.

Now you want to add a Windows cross compilation target.
You're using Linux, and have a cross compiler so you can compile
and link for a Windows box.

So, you have to edit, create, and delete, the complete contents of 

        $FLX_INSTALL_DIR/xwin32/config

and every C/C++ header file in

        $FLX_INSTALL_DIR/xwin32/lib/rtl

and a tiny bit of Felix in

        $FLX_INSTALL_DIR/xwin32/lib/plat

Now you need to run the build tools carefully to create and link
executables and objects and library binaries for xwin32.

Once you have done that you should be able to say

        flx --target=xwin32 -c myprogram

and generate myprogram.DLL for Windows.

Ditto for OSX->iOS cross compile.
Or Cygwin->Win32.
Or Win64->Win32.

Whataever you can configure.

At the moment Felix doesn't support remote execution.
but in principles you could compile onto a shared drive,
and use RPC to actually run the code on your target.
For example I'm sure that would be very handy for iOS developers
on OSX using the iPhone emulator.

A more likely target for the average programmer is a debugging target.
Or one with profiling support.

And after all that work, editing xwin32 configuration, you install a new
Felix build and it all gets wiped out :)

[I'm fixing that one .. there's a new switch --felix=layout.fpc that lets you
put stuff anywhere you like, you don't have to put targets as siblings
to the share directory which you do at the moment]


--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to