Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42A895DF.9020601@familiehaase.de> Date: Thu, 09 Jun 2005 21:17:51 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, daveroth AT acm DOT org Subject: Re: Problem with gcc 3.4.4-1 and -mno-cygwin switch References: <42A88F5A DOT 1040005 AT acm DOT org> In-Reply-To: <42A88F5A.1040005@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes David Rothenberger wrote: > On 6/9/2005 11:15 AM, Dave Korn wrote: > >> ----Original Message---- >> >>> From: Christopher Faylor >>> Sent: 09 June 2005 19:08 >> >> >> >>> On Thu, Jun 09, 2005 at 11:05:40AM -0700, David Rothenberger wrote: >>> >>>> I ran Cygwin Setup today and noticed that gcc 3.4.4-1 had moved out of >>>> test, so I upgraded it. I then tried to build the cygwin DLL and >>>> utilites from CVS and ran into a problem compiling cygcheck. >>>> >>>> g++: installation problem, cannot exec 'cc1plus': No such file or >>>> directory >>>> I get the same error when compiling any program with the -mno-cygwin >>>> switch. I passed the -v switch to gcc and noticed it was invoking >>>> cc1plus without an absolute path, just "cc1plus ...." >>>> >>>> Was gcc 3.4.4-1 intentionally moved out of test? Is this a known >>>> problem? I tried the latest mingw test packages but that didn't >>>> help. Do >>>> I need to do something else? Should this be taken up with the mingw >>>> group instead? Have I asked enough questions? >>> >>> >>> I can't answer many of the above but this is not an issue for the mingw >>> group. It's a cygwin gcc configuration problem. >>> >>> cgf >> >> >> >> >> So the next question has to be 'What does "gcc -print-search-dirs" >> show, >> and how does it compare to "gcc -mno-cygwin -print-search-dirs"?' > > > % gcc -print-search-dirs > install: /usr/lib/gcc/i686-pc-cygwin/3.4.4/ > programs: > =/bin/../lib/gcc/i686-pc-cygwin/3.4.4/:/bin/../lib/gcc/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/:/usr/libexec/gcc/i686-pc-cygwin/3.4.4/:/usr/libexec/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/:/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/i686-pc-cygwin/3.4.4/:/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ > > libraries: > =/bin/../lib/gcc/i686-pc-cygwin/3.4.4/:/bin/../lib/gcc/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/:/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/i686-pc-cygwin/3.4.4/:/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/:/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../i686-pc-cygwin/3.4.4/:/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../i686-pc-cygwin/3.4.4/:/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../:/lib/i686-pc-cygwin/3.4.4/:/lib/:/usr/lib/i686-pc-cygwin/3.4.4/:/usr/lib/ > > > % gcc -mno-cygwin -print-search-dirs > install: /usr/lib/gcc/i686-pc-mingw32/3.4.4/ > programs: > =/bin/../lib/gcc/i686-pc-mingw32/3.4.4/:/bin/../lib/gcc/:/usr/lib/gcc/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/:/usr/lib/gcc/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/:/usr/libexec/gcc/i686-pc-mingw32/3.4.4/:/usr/libexec/gcc/i686-pc-mingw32/:/usr/lib/gcc/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/:/bin/../lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/i686-pc-mingw32/3.4.4/:/bin/../lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/:/usr/lib/gcc/i686-pc-mingw32/../../../i686-pc-mingw32/bin/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/../../../i686-pc-mingw32/bin/ > > libraries: > =/bin/../lib/gcc/i686-pc-mingw32/3.4.4/:/bin/../lib/gcc/:/usr/lib/gcc/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/3.4.4/:/bin/../lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/i686-pc-mingw32/3.4.4/:/bin/../lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/:/usr/lib/gcc/i686-pc-mingw32/../../../i686-pc-mingw32/lib/i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/../../../i686-pc-mingw32/lib/:/bin/../lib/gcc/i686-pc-mingw32/3.4.4/../../../i686-pc-mingw32/3.4.4/:/bin/../lib/gcc/i686-pc-mingw32/3.4.4/../../../:/usr/lib/gcc/i686-pc-mingw32/../../i686-pc-mingw32/3.4.4/:/usr/lib/gcc/i686-pc-mingw32/../../:/lib/i686-pc-mingw32/3.4.4/:/lib/:/usr/lib/i686-pc-mingw32/3.4.4/:/usr/lib/ > > > % ls /lib/gcc/i686-pc-mingw32 > 3.4.1 > > % cygcheck -cv | grep gcc > Empty package gcc > gcc 3.4.4-1 OK > gcc-core 3.4.4-1 OK > gcc-g++ 3.4.4-1 OK > Empty package gcc-mingw > gcc-mingw 20040810-1 OK > gcc-mingw-core 20040810-1 OK > gcc-mingw-g++ 20040810-1 OK > > Same issue with test versions of gcc-mingw* packages. Many thanks. You're missing the gcc-mingw-* packages. My bad, I missed to edit the setup.hint of gcc-mingw, will do this now. [gerrit AT sourceware ~]$ cat /var/ftp/pub/cygwin/release/gcc-mingw/gcc-mingw-g++/setup.hint sdesc: "Mingw32 support headers and libraries for GCC C++" category: Devel requires: gcc-core gcc-g++ prev: 20031020-1 curr: 20040810-1 test: 20040822-1 Updated version should be available as soon as your mirror fetches the new setup.hint files. Sorry, Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/