[Felix-language] Layout: example

2014-09-04 Thread john skaller
So here is my tests case: I start with this file: // // tgmp.flx // include "gmp"; open Gmp; var x : mpz = mpz_of_int 42; var y = x + x; println$ y; //=== and I want to do this:

[Felix-language] Layout

2014-09-04 Thread john skaller
I think I am going to change how --target works. At present, it selects a subdirectory of FLX_INSTALL_DIR and makes that FLX_TARGET_DIR. Instead, you should use --target=mytarget will just be a short hand for --felix=FLX_PROFILE_DIR/config/mytarget.fpc In other words, it has no

Re: [Felix-language] layout

2014-09-01 Thread john skaller
OK, so I think the new setup if finally working. config.flx is moved to lib/std/felix/config.flx and it supplies two variables: FLX_SHARE_DIR FLX_TARGET_DIR to its client. Now, there is one more critical directory: the cache. At present that's calculated by lib/

[Felix-language] layout

2014-08-30 Thread john skaller
So the next patch, the config will return two independent directories: FLX_INSTALL_DIR FLX_TARGET_DIR The first is mainly to get FLX_INSTALL_DIR/share and the next change will be to eliminate the FLX_INSTALL_DIR variable. You can still set the FLX_INSTALL_DIR, but it wil