public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "stl at caltech dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/14601] New: MinGW/MSYS bootstrapped compiler doesn't work Date: Tue, 16 Mar 2004 09:54:00 -0000 [thread overview] Message-ID: <20040316095401.14601.stl@caltech.edu> (raw) I currently use MinGW gcc 3.3 crossed over from i686-pc-linux-gnu. It lives in C:\MinGW. If I compile a Hello World program with g++ -v, it says (in part): ignoring nonexistent directory "C:/MinGW/mingw32/include" ignoring nonexistent directory "/home/stl/temp/dest/include/c++/3.3" ignoring nonexistent directory "/home/stl/temp/dest/include/c++/3.3/mingw32" ignoring nonexistent directory "/home/stl/temp/dest/include/c++/3.3/backward" ignoring nonexistent directory "/home/stl/temp/dest/include" ignoring nonexistent directory "/home/stl/temp/dest/include" ignoring nonexistent directory "/home/stl/temp/dest/lib/gcc- lib/mingw32/3.3/include" ignoring nonexistent directory "/home/stl/temp/dest/mingw32/include" ignoring nonexistent directory "/usr/local/mingw32/include" #include "..." search starts here: #include <...> search starts here: C:/MinGW/include/c++/3.3 C:/MinGW/include/c++/3.3/mingw32 C:/MinGW/include/c++/3.3/backward C:/MinGW/include C:/MinGW/lib/gcc-lib/mingw32/3.3/include End of search list. It produces a hello.exe that works. I bootstrapped 3.3.3 in MinGW/MSYS. I put it in C:\Temp\gcc\gcc-3.3.3-meow. It says: ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3.3" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3.3/i686-pc- mingw32" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3.3/backward" ignoring nonexistent directory "c:/temp/gcc/dest/include" ignoring nonexistent directory "/c/temp/gcc/dest/include" ignoring nonexistent directory "c:/temp/gcc/dest/lib/gcc-lib/i686-pc- mingw32/3.3.3/include" ignoring nonexistent directory "c:/temp/gcc/dest/i686-pc-mingw32/include" #include "..." search starts here: #include <...> search starts here: C:/Temp/gcc/gcc-3.3.3-meow/lib/gcc-lib/i686-pc-mingw32/3.3.3/include /mingw/include End of search list. It then fails to find <iostream>. All of the MinGW/MSYS bootstrapped gcc's I've been accumulating - 3.3, 3.3.1, 3.3.3, and 3.4-20040310 with the PR12974 and PR14291 patches - have this same problem. 3.3 living in C:\Temp\gcc\gcc-3.3-hiss says: ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3/i686-pc- mingw32" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3/backward" ignoring nonexistent directory "c:/temp/gcc/dest/include" ignoring nonexistent directory "/c/temp/gcc/dest/include" ignoring nonexistent directory "c:/temp/gcc/dest/lib/gcc-lib/i686-pc- mingw32/3.3/include" ignoring nonexistent directory "c:/temp/gcc/dest/i686-pc-mingw32/include" ignoring nonexistent directory "/usr/local/mingw32/include" #include "..." search starts here: #include <...> search starts here: C:/Temp/gcc/gcc-3.3-hiss/lib/gcc-lib/i686-pc-mingw32/3.3/include End of search list. 3.3.1 living in C:\Temp\gcc\gcc-3.3.1-purr says: ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3.1" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3.1/i686-pc- mingw32" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.3.1/backward" ignoring nonexistent directory "c:/temp/gcc/dest/include" ignoring nonexistent directory "/c/temp/gcc/dest/include" ignoring nonexistent directory "c:/temp/gcc/dest/lib/gcc-lib/i686-pc- mingw32/3.3.1/include" ignoring nonexistent directory "c:/temp/gcc/dest/i686-pc-mingw32/include" #include "..." search starts here: #include <...> search starts here: C:/Temp/gcc/gcc-3.3.1-purr/lib/gcc-lib/i686-pc-mingw32/3.3.1/include /mingw/include End of search list. 3.4.0 living in C:\Temp\gcc\gcc-3.4.0-oink says: ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.4.0" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.4.0/i686-pc- mingw32" ignoring nonexistent directory "c:/temp/gcc/dest/include/c++/3.4.0/backward" ignoring nonexistent directory "c:/temp/gcc/dest/include" ignoring nonexistent directory "/c/temp/gcc/dest/include" ignoring nonexistent directory "c:/temp/gcc/dest/lib/gcc/i686-pc- mingw32/3.4.0/include" ignoring nonexistent directory "c:/temp/gcc/dest/i686-pc-mingw32/include" #include "..." search starts here: #include <...> search starts here: C:\Temp\gcc\gcc-3.4-oink\bin\../lib/gcc/i686-pc-mingw32/3.4.0/include /mingw/include End of search list. Interestingly, compiling hello.c using stdio.h with gcc 3.3.3 worked. I don't know why. Is this a problem with gcc? Am I not configuring my bootstraps properly? Since I can cross a compiler over and then move it to any old directory (i.e. C:\MinGW) I like, I figure that I should be able to bootstrap with a destination of C:\Temp\gcc\dest and then move it to any old directory. This is how I configured 3.3 during the cross: Reading specs from C:/MinGW/bin/../lib/gcc-lib/mingw32/3.3/specs Configured with: /home/stl/temp/src/configure --prefix=/home/stl/temp/dest -- build=i686-pc-linux-gnu --host=mingw32 --ta rget=mingw32 --enable-languages=c,c++ --with-gcc --with-gnu-as --with-gnu-ld -- with-as=/home/stl/xmingw32/bin/mingw32-as --with-ld=/home/stl/xmingw32/bin/mingw32-ld --enable-threads=win32 --disable- nls --disable-win32-registry --disable-sha red --enable-sjlj-exceptions --disable-debug --without-newlib Thread model: win32 gcc version 3.3 (mingw special 20030514-1) This is how I configured the 3.3.3 bootstrap: Using built-in specs. Configured with: ../src/configure --prefix=/c/temp/gcc/dest --enable- languages=c,c++ --enable-sjlj-exceptions --enable-t hreads=win32 --disable-win32-registry --disable-shared --without-newlib -- disable-nls --disable-debug Thread model: win32 gcc version 3.3.3 (mingw special) -- Summary: MinGW/MSYS bootstrapped compiler doesn't work Product: gcc Version: 3.3.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stl at caltech dot edu CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14601
next reply other threads:[~2004-03-16 9:54 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-16 9:54 stl at caltech dot edu [this message] 2004-03-20 9:40 ` [Bug driver/14601] " stl at caltech dot edu 2004-03-21 3:16 ` [Bug driver/14601] Bootstrapped compiler tied to original directory while crossed native isn't stl at caltech dot edu 2004-03-21 5:04 ` dannysmith at gcc dot gnu dot org 2004-03-21 5:06 ` stl at caltech dot edu 2004-04-04 7:57 ` wintermute2k4 at ntlworld dot com 2004-04-04 20:46 ` stl at caltech dot edu 2004-04-05 0:16 ` ian at wasabisystems dot com 2004-04-05 0:19 ` stl at caltech dot edu 2004-04-07 3:08 ` [Bug target/14601] " pinskia at gcc dot gnu dot org
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=20040316095401.14601.stl@caltech.edu \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).