Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 6 Nov 2002 15:48:31 -0800 (PST) From: Michael A Chase <mchase AT ix DOT netcom DOT com> Subject: Re: gcc (as.exe) install error To: cygwin AT cygwin DOT com, Danny Sauer <cygwin_list AT dannysauer DOT com> Message-ID: <Mahogany-0.64.2-2140-20021106-154831.00@ix.netcom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE references: <20021106171425 DOT C31107 AT newwww DOT internal DOT teleologic DOT net> in-reply-to: <20021106171425.C31107@newwww.internal.teleologic.net> Reply-To: Michael A Chase <mchase AT ix DOT netcom DOT com> On Wed, 6 Nov 2002 17:14:25 -0600 Danny Sauer <cygwin_list AT dannysauer DOT com> wrote: > I recently installed cygwin 1.3.14-1 (according to cygcheck). gcc is > unable to compile c source code (gcc claims to be version 3.2). > > Example code from "test.c": > > --- > #include <stdio.h> > int main(){ > printf("hello\n"); > } > --- > > Not complicated code by any stretch of the imagination. It compiles fine > with gcc on the linux box next door, not suprisingly. > > I've tried doing a complete install of the entire cygwin env., and > uninstalling followed by reinstalling the development group (and the > binutils package individually). I still get this error when I try to > compile: > > --- > $ gcc -o test.exe test.c > gcc: installation problem, cannot exec > '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.ex > e': Invalid argument > --- > > If I copy and paste the path to as.exe, it runs just fine. The file > exists. I've tried it without the "-o test.exe" part - same result. I > tried moving the file from a network mounted drive to a local path - same > result. My searches turned up nothing, but then, I may have been looking > in the wrong place. If someone could either point me to that place or > just solve the problem, I'd be somewhat appreciative. :) man test -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/