Some more changes are coming.
1. Dependency checking
===================
This doesn't always seem to work properly, not sure why.
Will have to investigate. But see next point.
2. Bare execution
==============
At present, if you say
flx --static fred
and fred (.exe) exists, it just runs it. Doesn't seem to do dependency
checking correctly. Worse, it doesn't set the (DY)LD_LIBARY_PATH.
If you actually rebuild it, the path is correctly set. This is needed so
plugins (and other shared libs) load or load correctly on some platforms.
On OSX, its worse: if there's no path it uses the location at link time
for shared libs (but not plugins). This may have been in build/release
even though you're running an installed Felix.
If you make a standalone execitable (--static) it can still load plugins
which can load shared libraries, so take care to avoid duplication
and make sure to set the (DY)LD_LIBRARY_PATH if required.
But this shouldn't be necessary if you run the executable under
control of 'flx'.
This leads to a need to *specify* that you want to run a bare executable
without any *.flx file available (but still set the right LD_LIBRARY_PATH
and other environment stuff). So there needs to be an option like
flx --run-only fred
for that. Also disables dependency checking of course.
--
john skaller
[email protected]
http://felix-lang.org
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language