public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: raul@pleyades.net To: gcc-gnats@gcc.gnu.org Subject: c++/9968: Problem with gxx-include-dir Date: Wed, 05 Mar 2003 17:46:00 -0000 [thread overview] Message-ID: <E18qcth-0006Ue-00@DervishD.pleyades.net> (raw) >Number: 9968 >Category: c++ >Synopsis: When gxx-include-dir contains 'include', its removed... >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Mar 05 17:46:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: >Release: 3.2.2 >Organization: >Environment: System: Linux DervishD 2.4.18 #1 Thu Jul 25 16:31:49 CEST 2002 i686 unknown host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.2.2/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++ : (reconfigured) ../gcc-3.2.2/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++ : (reconfigured) ../gcc-3.2.2/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++ : (reconfigured) ../gcc-3.2.2/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++ >Description: When I configure my GCC I want the C++ header files in /user/gccfull/include/myg++, since I'm doing a test building and I want the entire GCC under prefix /user/gccfull. Well, if I provide the following flag to configure: --with-gxx-include-dir=/user/gccfull/include/myg++, the headers are correctly installed under /user/gccfull/include/myg++, but when compiling, /user/gccfull//myg++ is searched for headers instead. The function 'update_path', contained in gcc/prefix.c, is removing the 'include' word, and this makes compilation impossible... >How-To-Repeat: Configure and build with: ../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++ make CFLAGS='-O2' BOOT_CFLAGS='-O2' LIBCFLAGS='-g -O2' bootstrap make install >Fix: The problem seems to be in update_path, but don't know how it works... >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2003-03-05 17:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E18qcth-0006Ue-00@DervishD.pleyades.net \ --to=raul@pleyades.net \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).