BTW: the version stuff is like this:

The first file linked should be "flx_version" so that any subsequent code that
needs the version information can find it. The version information supplied
by this file is initially dummy.

The last file linked should be "flx_version_hook" which contains the actual
version information and a routine to store it in flx_version. That routine must
be called by any programs almost immediately after they start.

Why do we do this complicated stuff? Well the version information has to
be early so things that depend on it can find it, but if we put the real
version information there, including the build time, the whole compiler
will be rebuilt by the build system every time it is invoked.

So we put the real version information near the end so the build
system will only recompile the mainline and relink the executable
every time.

A side-effect of this is that everything dependent on the compiler
will be rebuilt every time too, even when nothing changed
other than the version information.

Unfortunately there is no way around this problem short of
special hacks in the build system. Could be done, by 
only copying the version information when the rest of the
compiler contains a change and would have to be rebuilt anyhow.


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





------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to