I have a clue now why the install of felix doesn't work right:
the dependencies are represented by current directly relative filenames.
for example after

flx --test=build/release ...

they're like this:

dep file = build/release/lib/std
dep file = build/release/lib/std/__init__
dep file = build/release/lib/plat/filename
dep file = build/release/lib/plat/config
dep file = build/release/lib/std/cxx_headers
dep file = build/release/lib/std/c_headers
dep file = build/release/lib/std/flx_tclass
dep file = build/release/lib/std/order
dep file = build/release/lib/std/algebraic
dep file = build/release/lib/std/flx_ctypes
dep file = build/release/lib/plat/ctypedefs

So if I install everything *including* std.libtab, then when I change anything 
in
build/release, even 

flx ...

will force a rebuild.

~/felix>touch  build/release/lib/std/version.flx
~/felix>flx --test=../felix/build/release --force -c frd
....
Binding libary std
binding library std done
Exports = 0

~/felix>flx --test=../felix/build/release --force -c frd
dep file = ../felix/build/release/lib/std
dep file = ../felix/build/release/lib/std/__init__
....

It's ugly! The dep file is not only current directory relative,
it also doesn't "move" with installation.

For the std lib this is easy enough to fix: just store the pathnames
relative to the FLX_INSTALL_DIR.

But this won't work for 3PLs which are in fixed places outside the install,
such as /usr/local/lib/mylib.  Hmmm..


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to