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 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040808202306.033b2890@pop.prospeed.net> X-Sender: Date: Sun, 08 Aug 2004 20:25:25 -0400 To: cygwin AT cygwin DOT com, Al Bogner From: Larry Hall Subject: Re: C compiler cannot create executables In-Reply-To: References: <200408082127 DOT 15730 DOT cygwin AT ml04c DOT pinguin DOT uni DOT cc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:55 PM 8/8/2004, you wrote: >On Sun, 8 Aug 2004, Al Bogner wrote: > >> I am new to cygwin and unfortunately I have to install _offline_ and >> have a slow dial-up connection on the other pc too. Someone >> recommended me to install online on another pc and copy the files >> to the other pc, but I downloaded 730MB till now, which I don't >> want to throw away. > >You *may* have to throw away some of the downloaded packages, but only if >you downloaded from a corrupt mirror. Unfortunately, you haven't provided >the information necessary for this list to determine which mirror you used >or what the state of your system is (see >for details). > >BTW, if I understand correctly, the above paragraph was intended to ward >off the "blow away your Cygwin and reinstall" type of advice. FWIW, >reinstalling doesn't involve redownloading the packages -- setup.exe will >use the local versions if present. > >> So could you please help me to get compilation running. I tried lame >> and cdrtools and both end with a message like "C compiler cannot >> create executables". > >This sounds like a message from configure. Look in the config.log file >that is produced by configure for the exact error. Also, check that a >simple "hello world" program can be compiled with gcc and executed. > >> When I search the net, I found two solutions for similar problems, >> package missing or compiler broken. Or maybe it is a simple right >> problem? >> >> Which package could be missing? For my installed packages please see >> below. I installed "gcc (GCC) 3.3.1 (cygming special)", where can I >> download 2.95.3? > >You're making an assumption here that may not be valid. Please review the >problem reporting instructions at the link above, and see if config.log >sheds any light on this. > >> cygcheck -c >> Cygwin Package Information >> Package Version Status >> [snip] > >Oh, and in the future, please *attach* the output of cygcheck, since >including it inline produces false positives on archive searches. And, from what I can see, you're somehow missing the 'binutils' package. You won't get very far with 'gcc' without it, even if it isn't the precise cause of the configure script complaint that you're getting (which it may be but I can't tell from the information provided). -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/