public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: gcc (as.exe) install error
@ 2002-11-06 16:24 Harig, Mark A.
  0 siblings, 0 replies; 11+ messages in thread
From: Harig, Mark A. @ 2002-11-06 16:24 UTC (permalink / raw)
  To: Danny Sauer, cygwin


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@dannysauer.com]
> Sent: Wednesday, November 06, 2002 6:14 PM
> To: cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: gcc (as.exe) install error
@ 2002-11-10 15:59 Danny Sauer
  2002-11-18 14:52 ` Danny Sauer
  2002-11-18 14:59 ` Danny Sauer
  0 siblings, 2 replies; 11+ messages in thread
From: Danny Sauer @ 2002-11-10 15:59 UTC (permalink / raw)
  To: cygwin

Danny,

The dialog regarding your problems with GCC and / or "as" (or whatever the 
real problem ultimately turns out to be) should take place in public.

Randall Schulz
Mountain View, CA USA


-==- Forwarded Message -==-

I'm not in front of the machine, but for the time being I'll add this:

When I copy that path and paste it in on the command line, it runs
just fine (well, as fine as something that expects something on STDIN
can run).  I can add "--help" and it displays the help.

I've done a complete uninstall, followed by a reboot and a complete
install (by selecting "uninstall" and then "install" at the root of
the software tree) on that machine, and the same thing happens.

I'll check the version that got reinstalled Mon morning.  Thanks for
the help so far.  The community rocks.

--Danny

Randall wrote regarding 'Re: gcc (as.exe) install error' on Fri, Nov 08 at 
00:32:
 > Danny,
 >
 > Well, you do have binutils installed, but it's not the latest (see
 > <http://www.cygwin.com/packages/binutils/>). When you installed GCC 3.2,
 > did you also update binutils? Why don't you update all your installed 
packages?
 >
 > On my system, that rather long, funky pathname (in the gcc "cannot exec"
 > diagnostic) names a symlink which itself points to /usr/bin/as.exe.
 >
 > What is it on your system?
 >
 > Randall Schulz
 > Mountain View, CA USA
 >
 >
 > At 08:25 2002-11-07, Danny Sauer wrote:
 > >Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13:
 > >...
 > > > $ 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.exe':
 > > Invalid argument
 > >...
 > >
 > >Attached is the output of cygcheck -s -v -r, if that helps.


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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* gcc (as.exe) install error
@ 2002-11-06 15:14 Danny Sauer
  2002-11-06 15:48 ` Michael A Chase
  2002-11-07  8:25 ` Danny Sauer
  0 siblings, 2 replies; 11+ messages in thread
From: Danny Sauer @ 2002-11-06 15:14 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-11-18 23:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 16:24 gcc (as.exe) install error Harig, Mark A.
  -- strict thread matches above, loose matches on Subject: below --
2002-11-10 15:59 Danny Sauer
2002-11-18 14:52 ` Danny Sauer
2002-11-18 14:59 ` Danny Sauer
2002-11-18 18:32   ` Christopher Faylor
2002-11-06 15:14 Danny Sauer
2002-11-06 15:48 ` Michael A Chase
2002-11-06 16:11   ` Randall R Schulz
2002-11-06 20:06     ` Michael A Chase
2002-11-07  8:25 ` Danny Sauer
2002-11-07  8:36   ` Randall R Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).