public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: marco atzeri <marco.atzeri@gmail.com>
To: DAGwyn@aol.com, cygwin@cygwin.com
Subject: Re: Cygwin 1.7.14-2 make/gcc no longer functional on Windows 7 64-bit
Date: Wed, 09 May 2012 10:36:00 -0000	[thread overview]
Message-ID: <4FAA4870.1020604@gmail.com> (raw)
In-Reply-To: <29681.57c19e47.3cdb9a19@aol.com>

On 5/9/2012 11:59 AM, DAGwyn@aol.com wrote:
> I just installed Cygwin on Windows 7 64-bit, rooted at D:\cygwin, using the
>   latest (1.7.14-2) setup.exe a few hours ago.  In addition to the  default
> packages, I added several others including gcc4, gcc, and GNU  make.  (See
> the attached cygcheck.out for the full list.)  Here is a  portion of a bash
> terminal session:
>
> Douglas@Douglas-PC ~
> $ ls  -bCF  # note that there is no Makefile ...
> bin/ DOTFILES/ gcc-tools/ HG/  lib/ OS/ src/ work/
> cygcheck.out DOTS/ hello.c include/ man/ PROBE.OUT  SX/
>
> Douglas@Douglas-PC ~
> $ make hello.o  # ... so "make" uses its  default definitions and rules
> cc    -c -o hello.o  hello.c
> make: cc: Command not found
> <builtin>: recipe for target  `hello.o' failed
> make: *** [hello.o] Error 127
>
> Douglas@Douglas-PC  ~
> $ gcc-4 -c -o hello.o hello.c  # (get similar behavior from  gcc-3)
> hello.c:1:0: fatal error: canÂ’t open /tmp/ccEwiiBz.s for writing: No  such
> file or directory
> compilation terminated.
>
> Douglas@Douglas-PC  ~
> $ echo foo>  /tmp/bar  # works fine for bash ...
>
> PROBLEM  1:  "make" expects "cc" to exist, and indeed it existed in my
> previous  (August 2011) installation of Cygwin.
>
> PROBLEM 2:  "gcc-4" (also  happens for gcc-3) can't create a writeable file
> in /tmp, but "bash" can.
>
> ADDITIONAL CLUE:  A similar installation on the same system from  August
> 2011 was working fine, until I fetched updates that seemed to break it  (see
> below).  I deleted the entire D:\cygwin folder, icons, etc. and  reinstalled
> Cygwin from scratch, with the above results.
>
> JUST IN CASE:  I recently had a problem with the SONAR component  of Norton
> 360 detecting "suspicious activity" in some executables I had compiled
> under Cygwin. and auto-deleting the executables.  I disabled SONAR checking
> for all of D:\cygwin, then fetched Cygwin updates as reported in  the
> preceding paragraph.  I haven't seen any further warnings from  SONAR, and don't
> think it could explain the reported problems.
>

start removing this:

2604k 2011/03/29 C:\Windows\SYSTEM\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                   "cygwin1.dll" v0.0 ts=2011/3/29 9:10
     Cygwin DLL version info:
         DLL version: 1.7.9
         DLL epoch: 19
         DLL old termios: 5
         DLL malloc env: 28
         Cygwin conv: 181
         API major: 0
         API minor: 237
         Shared data: 5
         DLL identifier: cygwin1
         Mount registry: 3
         Cygwin registry name: Cygwin
         Program options name: Program Options
         Installations name: Installations
         Cygdrive default prefix:
         Build date:
         Shared id: cygwin1S5

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2012-05-09 10:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 10:00 DAGwyn
2012-05-09 10:36 ` marco atzeri [this message]
2012-05-10  7:13 DAGwyn
2012-05-10 14:20 ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAA4870.1020604@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=DAGwyn@aol.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).