On 28/08/2014, at 7:40 PM, john skaller wrote:

> 
> As noted, however, this is not enough.
> 
> Examine
> 
> build/release/host/lib/plat/config.flx
> 
> to see why: the install directory is referred to there.
> 
> Now .. I am trying to entirely eliminate this file
> precisely because it makes the system hard to move.

So here's the plan: please COMMENT if you have any thoughts.

I will change the config.flx file to look for data in

        $HOME/.felix/felix.fpc

If found this would override the hard coded location.
So plain

        flx hello.flx

will work, using that file to locate the installation.

Ultimately, the FLX_INSTALL_DIR should cease to exist:
a layout file should always be used.

[USERPROFILE is used on Windows I think, instead of HOME]

This will make the system adaptable, although some arcane knowledge
is required to get it to work.

It would be good to eventually *enforce* the layout manager,
by removing the generated plat/config.flx entirely (and fixing
any breakages).

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




------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to