delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/06/19:25:04

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
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: gcc (as.exe) install error
Date: Wed, 6 Nov 2002 19:24:55 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E76303B@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Danny Sauer" <cygwin_list AT dannysauer DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gA70P3C20644

As requested at http://cygwin.com/bugs.html:

o Please describe how to reproduce the problem,
  including a test case, if possible.

o Please include at least the version number of the
  Cygwin release you are using along with the 
  operating system name and its version number,
  for example, "cygwin v1.3.13 under NT 4.0".

o Most of the information about your Cygwin environment
  is listed by running 'cygcheck -s -v -r > cygcheck.txt'.
  Please include cygcheck.txt *AS AN ATTACHMENT* to your
  report.  It is important that you include it as an
  attachment so that searches of the mailing-list archives
  give fewer false matches.

If you provide the output of cygcheck, then Randall Schulz's
guess about an incomplete installation could be checked.

> -----Original Message-----
> From: Danny Sauer [mailto:cygwin_list AT dannysauer DOT com]
> Sent: Wednesday, November 06, 2002 6:14 PM
> To: cygwin AT cygwin DOT com
> Subject: gcc (as.exe) install error
> 
> 
> 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-cygwi
n/bin/as.exe': 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. :)
> 
> Thanks a bunch.
> --Danny
> 
> --
> 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/
> 
> 

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019