This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
stow & g++ header installation
- To: gcc-help at gcc dot gnu dot org
- Subject: stow & g++ header installation
- From: "Andreas.P.Priesnitz" <priesnit at math dot uni-goettingen dot de>
- Date: Tue, 28 Aug 2001 20:15:47 +0200 (MET DST)
Hello!
I want to install gcc 3.0.1 using GNU stow (on alphaev67-dec-osf4.0f). Therefore
I do something like:
% configure \
--prefix=$GLOBDIR \
--exec_prefix=$ARCHDIR
...
% make bootstrap
...
% make install \
prefix=$GLOBDIR/stow/gcc-3.0.1 \
exec_prefix=$ARCHDIR/stow/gcc-3.0.1
...
FIRST PROBLEM:
--------------
Basically the same output is produced then as for a plain `make install', except
for:
...
libtool: install: warning: remember to run `libtool --finish $ARCHDIR/lib'
...
when installing libsupc++.a/libstdc++.a, while `make install' reports:
...
----------------------------------------------------------------------
Libraries have been installed in:
$ARCHDIR/lib
...
----------------------------------------------------------------------
...
(In both cases, I replaced `$ARCHDIR' manually for readability, of course.)
Is this a serious warning? Do I need to perform this libtool-call, or is it done
by the installation?
SECOND PROBLEM:
---------------
After stowing the installed files, I (seem to) get identical layout of the
target directories as for the immediate `make install', with links instead of
the according files/subdirectories.
But compiling a C++ "Hello world!" example fails, for `iostream' not being
found. After a pure `make install', it works fine.
How can this be, as both times there is $GLOBDIR/include/g++-v3/iostream ?
I found several hints that this is a well-known problem, but I also found many
examples in the mailing lists of people who in fact do install into some
`.../stow/...' directory, so I'd like to ask whether there also is a well-known
solution.
BTW: I know that I could avoid the problems by
`--enable-version-specific-runtime-libs', installing the g++-headers in
$(libsubdir), but I'd like to at least understand why it can't be made the
elegant way?
Thanks in advance!
Andreas