This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8018



------- Additional Comments From raul@pleyades.net  2003-05-26 14:54 -------
Subject: Re: [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'

 * dhazeghi@yahoo.com <gcc-bugzilla@gcc.gnu.org> dixit:
> can you please confirm that this problem still occurs with gcc 3.3?
> I suspect it does, but none of my systems lack tar, and I don't
> have the privileges to remove it to check what happens. Thanks,

    Confirmed. I have access to a machine where tar in installed, but
my production machine just have 'pax', and of course 'cp', so the
target 'install-headers-cp' works fine. In fact, this is what I do to
do the installation:

gcc_version=3.3
../gcc-$gcc_version/configure --prefix=/user/gccfull/ --with-cpp-install-dir=lib --program-transform-name='s/^c++filt$/gcc-c++filt/' --disable-nls --enable-languages=c,c++ --disable-multilib --disable-version-specific-runtime-libs --with-gxx-include-dir=/user/gccfull/include/myg++
mv gcc/Makefile gcc/Makefile.TMP
sed -e "s/INSTALL_HEADERS_DIR *=.*/INSTALL_HEADERS_DIR=install-headers-cp/" < gcc/Makefile.TMP > gcc/Makefile
rm gcc/Makefile.TMP
make CFLAGS='-O2' BOOT_CFLAGS='-O2' LIBCFLAGS='-g -O2' bootstrap
make install

    This way all goes ok, except the g++ include directory, which is
mentioned in another bug report and that I'm testing in 3.3.

    Thanks a lot for dealing with this.

    Raúl Núñez de Arenas Coronado





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]