gcc installation problem, cannot exec 'as' No such file or directory

2006-10-22 Thread [EMAIL PROTECTED]
I installed cygwin and the C compiler. When I try to compile a C
program I get this message:  gcc installation problem, cannot  exec
'as' No such file or directory



_
PrivatePhone - FREE telephone number  voicemail.
A number so private, you can make it public.
http://www.privatephone.com



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



Re: gcc installation problem, cannot exec 'as' No such file or directory

2006-10-22 Thread Tim Prince

[EMAIL PROTECTED] wrote:

I installed cygwin and the C compiler. When I try to compile a C
program I get this message:  gcc installation problem, cannot  exec
'as' No such file or directory
And you couldn't be bothered to check the URLs at the bottom of your 
message?  Perhaps
 you should go back and refresh your cygwin, taking care to enable 
installation of binutils.



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



gcc doesn't work: gcc: installation problem, cannot exec `cc1': No such file or directory

2003-02-14 Thread Niemann Hartmut
Hello!
I installed the cygwin environment 1.3.20-1 including gcc on a Win2000 PC, 
and gcc does not work:

$ gcc hello.c -lm
gcc: installation problem, cannot exec `cc1': No such file or directory

$ gcc --version
gcc (GCC) 3.2 20020927 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc -print-search-dirs
install: /usr/lib/gcc-lib/i686-pc-cygwin/3.2/
programs:
=../lib/gcc-lib/i686-pc-cygwin/3.2/:../lib/gcc-lib/:/usr/lib/gcc-lib/i
686-pc-cygwin/3.2/:/usr/lib/gcc-lib/i686-pc-cygwin/3.2/:/usr/lib/gcc-lib/i68
6-pc
-cygwin/:/usr/lib/gcc/i686-pc-cygwin/3.2/:/usr/lib/gcc/i686-pc-cygwin/:../li
b/gc
c-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/i686-pc-cygwin/3.2/:
../l
ib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/:/usr/lib/gcc-l
ib/i
686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/i686-pc-cygwin/3.2/:/usr/li
b/gc
c-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/
libraries:
=../lib/gcc-lib/i686-pc-cygwin/3.2/:../lib/gcc-lib/:/usr/lib/gcc-lib/
i686-pc-cygwin/3.2/:/usr/lib/gcc/i686-pc-cygwin/3.2/:../lib/gcc-lib/i686-pc-
cygw
in/3.2/../../../../i686-pc-cygwin/lib/i686-pc-cygwin/3.2/:../lib/gcc-lib/i68
6-pc
-cygwin/3.2/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc-lib/i686-pc-cygwin/
3.2/
../../../../i686-pc-cygwin/lib/i686-pc-cygwin/3.2/:/usr/lib/gcc-lib/i686-pc-
cygw
in/3.2/../../../../i686-pc-cygwin/lib/:../lib/gcc-lib/i686-pc-cygwin/3.2/../
../.
./i686-pc-cygwin/3.2/:../lib/gcc-lib/i686-pc-cygwin/3.2/../../../:/usr/lib/g
cc-l
ib/i686-pc-cygwin/3.2/../../../i686-pc-cygwin/3.2/:/usr/lib/gcc-lib/i686-pc-
cygw
in/3.2/../../../:/lib/i686-pc-cygwin/3.2/:/lib/:/usr/lib/i686-pc-cygwin/3.2/
:/us
r/lib/

I can not explain the .. in the paths. The files are in /lib

$ ls -l /lib/gcc-lib/
total 0
drwx--+   3 Administ mkpasswd0 Feb 14 13:46 i686-pc-cygwin
drwxrwxrwx+   3 e09nemh0 mkpasswd0 Feb 14 13:47 i686-pc-mingw32

and /usr/lib

$ ls -l /usr/lib/gcc-lib/
total 0
drwx--+   3 Administ mkpasswd0 Feb 14 13:46 i686-pc-cygwin
drwxrwxrwx+   3 e09nemh0 mkpasswd0 Feb 14 13:47 i686-pc-mingw32

So it looks like it should, except for the search paths I 
Does anybody have a clue why they are not found by gcc?

With best regards
Hartmut Niemann

-- 
Dr. Hartmut Niemann
Siemens AG TS GT E3
91052 Erlangen, Werner-von-Siemens-Str. 67
Fon ++49-9131-7-34264 -- Fax ++49-9131-828-34264
[EMAIL PROTECTED]
Digitale Störstromüberwachung im Intranet:
http://sibas32.ts.siemens.de/hw_doku/uwds/index.htm

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




Re: gcc doesn't work: gcc: installation problem, cannot exec `cc1': No such file or directory

2003-02-14 Thread Joe Buehler
Niemann Hartmut wrote:


I installed the cygwin environment 1.3.20-1 including gcc on a Win2000 PC, 
and gcc does not work:

$ gcc hello.c -lm
gcc: installation problem, cannot exec `cc1': No such file or directory

I had a similar problem recently that was cured by a reinstall.
--
Josef Bühler



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