Ralf Hemmecke wrote: > > >> So I think that: > >> - fricas mode should take fricas location from a variable, if > >> this variable is unset default to plain 'fricas' > >> - efricas should set this variable to full pathname of fricas. > > Interesting. :-) > > What variable should that be? Such a variable must then have been set by > a user. No, that is certainly not the way to go. >
Note that: - we provide reasonable default - typically installation process should assign correct values So burden on users is zero, while both users and developers gain extra flexibility. > However, I don't know whether we also support something like > > make exec_prefix=/path/to/some/dir install > > I have the tendency that we shouldn't. > > In fact, I don't quite understand what the gnu means with the last > sentence in the following quote from > http://www.gnu.org/software/automake/manual/make/Directory-Variables.html > > === quote > exec_prefix > A prefix used in constructing the default values of some of the > variables listed below. The default value of exec_prefix should be > $(prefix). (If you are using Autoconf, write it as [EMAIL PROTECTED]@'.) > > Generally, $(exec_prefix) is used for directories that contain > machine-specific files (such as executables and subroutine libraries), > while $(prefix) is used directly for other directories. > > Running `make install' with a different value of exec_prefix from > the one used to build the program should not recompile the program. > === end quote > I am not sure what the exact intent is (my impression was that changing $(prefix) and relatives from command line is discouraged). But users can re-configure after build with new prefix. I think that the quote above means that when you install after re-configuration program should not be recompiled (and of course correct exec_prefix should be used). AFAIK gcc does not satisfy this: it needs to recompile a small part. In our case it means that we should really generate efricas at install time (not at build time). -- Waldek Hebisch [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---
