Ok, so now I need some advice/help.

At present you can build a new Felix target using the build
tools. However, there's no support for actually making it do anything
different than your host, *other* than change the toolchain.

flx_build_prep --pkg=build-spec.fpc

can be used to do this.  The default is guessed from the OS.
for example here's --pkg=build_flx_rtl_clang_osx:

~/felix>cat build/release/host/config/build_flx_rtl_clang_osx.fpc
description: Build system bootstrap root.
toolchain: toolchain_clang_osx
compiler: clang
os: OSX
Requires: flx flx_gc flx_exceptions flx_pthread flx_async re2 sqlite3 
flx_dynlink demux faio


flx_build_prep has some helper options:

    println$ "  --copy-repo                 copy src dir of repository";
    println$ "  --copy-compiler             copy compiler flxg";
    println$ "  --copy-pkg-db               copy package database";
    println$ "  --copy-config-headers       copy C++ config headers";
    println$ "  --copy-version              copy Felix version file";
    println$ "  --copy-library              copy Felix library";

for copying stuff from your host to the new target, but then if you want to 
change
something you have to go an edit it by hand.

Do you know what you can edit, and where it lives? 
I don't .. I forget :)

So I want to build a tool that knows where all the configurable options are and 
lets
to select from various choices (or enter desired values) or probe for 
suggestions.

I guess this has to be interactive .. so the BIG question is: HOW???

Assume the client has a host build of Felix already and wants to target, say 
iOS,
or something else. Sure a portable GUI would be nice, easiest way may be
TkInter in Python. SDL can be done too but the client has to get SDL first.

Another option: do it (somehow) via the webserver. I kind of like that idea
myself though I'm not exactly sure how to make the current webserver
support sessions and writing to files. Maybe a single HTML Form would suffice
and have it display a page which is cut into a file by the user with a mouse,
and then run some program on it to generate the config.


--
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=121051231&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