X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=X+9tVVM4/2yu4CKVFosFa1Q2PWsYk5Idxi93CKoduNo QpPrg2DBuSvUYVOTRSWbLvvUjiF2ii3njkLgcPDp9jpkftDYybuT1Ko4ccL7Uaf+ Wb4nIkmv3Zd/x6M1cBYjicLddLTuUXCZ7xh3Edx4QpBWWssIJ2UqpoP0PLH+bxcQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=e3ZBArIUdoA/DnhM0ZqOV8pi8Ew=; b=TPx09lMSKl6KBILPc SPHD70Gd7CLXZA9xTd6S5OxQOvaK467LnV4hssmTx/6hYTCgKO/CON/FQGtf9+CF lxllu1CiURPV2C4WSU7LFdoneLd//GEiALWyGrvhZpV9VBBmpipFBOW+fVOliLRL l0Q3ap9RWq7xYVXP4U0r583J5E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_GD,TW_YG autolearn=ham version=3.3.1 X-Received: by 10.67.5.168 with SMTP id cn8mr5294759pad.119.1371621404314; Tue, 18 Jun 2013 22:56:44 -0700 (PDT) Message-ID: <51C14814.4010909@gmail.com> Date: Wed, 19 Jun 2013 13:56:36 +0800 From: Arthur Tu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gcc4.7.2 cc1 error while loading shared libraries References: <51C14431 DOT 2080104 AT gmail DOT com> In-Reply-To: <51C14431.2080104@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I found this http://cygwin.com/ml/cygwin/2010-10/msg00063.html. And call cc1.exe from windows native console. It reported that cygwin1.dll is missing. However, cygwin1.dll do exist in /bin/, and $CYGWIN/bin/ is in my windows path. On 6/19/2013 1:40 PM, Arthur Tu wrote: > $ gcc-4 --version > gcc-4 (GCC) 4.7.2 > > $ gcc-3 --version > gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > > $ gcc-4 helloWorld.c > /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared > libraries: ?: cannot open shared object file: No such file or directory > > $ gcc-3 helloWorld.c > *(success) > > $ cygcheck -c|grep gcc > gcc 3.4.4-999 OK > gcc-core 3.4.4-999 OK > gcc-g++ 3.4.4-999 OK > gcc-mingw-core 20050522-3 OK > gcc-mingw-g++ 20050522-3 OK > gcc4 4.7.2-2 OK > gcc4-core 4.7.2-2 OK > gcc4-g++ 4.7.2-2 OK > libgcc1 4.7.2-2 OK > mingw64-i686-gcc-core 4.5.3-6 OK > mingw64-x86_64-gcc-core 4.5.3-6 OK > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple