Install Location (again)
Anders F Björklund
afb at algonet.se
Thu Apr 20 01:21:17 PDT 2006
If one is bundling GCC with GDC, would it
be better to have it install in two dirs:
/opt/gcc/
/opt/gdc/
Just like it is being done now on Windows,
when you install the Digital Mars compilers:
C:\dm\
C:\dmd\
Or should everything install in just one
location, say /opt/gnu, for everything ?
(the upside to this is that it is easy to
add e.g. GNU Make and GDB too, later on...)
Under each dir, there would be the usual:
/opt/gnu/bin/*
/opt/gnu/lib/*
/opt/gnu/include/*
/opt/gnu/share/*
For a binary release, I'm leaning towards
using just one single $PREFIX (=/opt/gnu),
since this approach seems to have worked
good for the Fink and DarwinPorts projects ?
One less set of PATHs to set up, as well...
(to find the executables and the libraries)
This was assuming that the regular /usr
won't work, otherwise that would be the
preferred location - if the rest of the
system tools and libraries are "usable".
For the general case, I think we'll need
to bundle the *same* version of GNU C/C++
Thoughts ?
--anders
More information about the D.gnu
mailing list