I was trying out a server program written by me, running it from a Cygwin terminal under Windows. Unfortunately my AVG virus protection took offence to that, and (without asking for confirmation) did not only remove the server executable, but Cygwin as well. (That is, all open cygwin terminals disappeared, and when I now click the Cygwin shortcut icon on my desktop, it complains about a missing .exe.)
I try to undo that action by restoring from the 'virus fault', but this runs into an 'access denied' error. Does anyone have an idea how I can fix this?
AVG virus scanner
Moderators: hgm, Rebel, chrisw
-
- Posts: 27808
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: AVG virus scanner
Is this same problem as with Tom's live chess viewer ? If so it had to do with firewall.
-
- Posts: 730
- Joined: Fri Oct 19, 2012 2:23 am
Re: AVG virus scanner
Not sure how to fix it except download cygwin and let it reinstall what was lost.
But then what about your server application? Did it try to move the source code as well?
It's crap like this is why I go to ClamAV when I must have virus protection (my school demands it even if you are on a *nix operating system). If I'm on windows i use one of the windows derivatives like
http://www.clamwin.com/
But then what about your server application? Did it try to move the source code as well?
It's crap like this is why I go to ClamAV when I must have virus protection (my school demands it even if you are on a *nix operating system). If I'm on windows i use one of the windows derivatives like
http://www.clamwin.com/
-
- Posts: 27808
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: AVG virus scanner
Well, the server source was not even on the machine.
Re-installing Cygwin is what I finally did, as AVG apparently not only deleted mintty.exe (which I could download from somewhere) but also bash.exe. Unfortunately this had the side effect it also upgraded gcc from version 3.3.4 to 5.3.0. And this version does not support the -mno-cygwin flag that I was always using in any compile I make, to make native Windows binaries (e.g. of WinBoard) that can be distributed without Cygwin. So this basically renders the compiler useless to me, and there doesn't seem to be a way to get gcc 3.3.4 back, as it is no longer on the Cygwin server.
I am not sure what to do now. Is it really impossible nowadays to make MinGW compiles with the Cygwin gcc, and must I install a MinGW compiler that works independently from Cygwin to do this?
Re-installing Cygwin is what I finally did, as AVG apparently not only deleted mintty.exe (which I could download from somewhere) but also bash.exe. Unfortunately this had the side effect it also upgraded gcc from version 3.3.4 to 5.3.0. And this version does not support the -mno-cygwin flag that I was always using in any compile I make, to make native Windows binaries (e.g. of WinBoard) that can be distributed without Cygwin. So this basically renders the compiler useless to me, and there doesn't seem to be a way to get gcc 3.3.4 back, as it is no longer on the Cygwin server.
I am not sure what to do now. Is it really impossible nowadays to make MinGW compiles with the Cygwin gcc, and must I install a MinGW compiler that works independently from Cygwin to do this?
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: AVG virus scanner
If you only need to make window binaries you can use the gcc compiler from equation,no need to install extra stuff,I use it to make the Dirty compilations.hgm wrote:Well, the server source was not even on the machine.
Re-installing Cygwin is what I finally did, as AVG apparently not only deleted mintty.exe (which I could download from somewhere) but also bash.exe. Unfortunately this had the side effect it also upgraded gcc from version 3.3.4 to 5.3.0. And this version does not support the -mno-cygwin flag that I was always using in any compile I make, to make native Windows binaries (e.g. of WinBoard) that can be distributed without Cygwin. So this basically renders the compiler useless to me, and there doesn't seem to be a way to get gcc 3.3.4 back, as it is no longer on the Cygwin server.
I am not sure what to do now. Is it really impossible nowadays to make MinGW compiles with the Cygwin gcc, and must I install a MinGW compiler that works independently from Cygwin to do this?
http://www.equation.com/servlet/equation.cmd?fa=fortran
You will probably want the 32b for backwards compatability(?),I tried the -m32 flag with the 64bit version but the exes did not want to run on 32b windows.
Best
Fonzy
-
- Posts: 1971
- Joined: Wed Jul 13, 2011 9:04 pm
- Location: Madrid, Spain.
Re: AVG virus scanner.
Hello H.G.:
Index of /cygwin.org/pub/gcc/releases/gcc-3.3.4
Is this what you are looking for? I wish you good luck to solve the issue.
Regards from Spain.
Ajedrecista.
I am not a programmer but the following web allows downloading what it seems gcc 3.3.4:hgm wrote:Well, the server source was not even on the machine.
Re-installing Cygwin is what I finally did, as AVG apparently not only deleted mintty.exe (which I could download from somewhere) but also bash.exe. Unfortunately this had the side effect it also upgraded gcc from version 3.3.4 to 5.3.0. And this version does not support the -mno-cygwin flag that I was always using in any compile I make, to make native Windows binaries (e.g. of WinBoard) that can be distributed without Cygwin. So this basically renders the compiler useless to me, and there doesn't seem to be a way to get gcc 3.3.4 back, as it is no longer on the Cygwin server.
I am not sure what to do now. Is it really impossible nowadays to make MinGW compiles with the Cygwin gcc, and must I install a MinGW compiler that works independently from Cygwin to do this?
Index of /cygwin.org/pub/gcc/releases/gcc-3.3.4
Is this what you are looking for? I wish you good luck to solve the issue.
Regards from Spain.
Ajedrecista.
-
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: AVG virus scanner
I don't think there should be any drawback to using MinGW itself.
-
- Posts: 730
- Joined: Fri Oct 19, 2012 2:23 am
Re: AVG virus scanner
MinGW compilers are listed on cygwin, you don't have to use MSys. Just scroll further down on the list of compilers You do have to drop the -no-cygwin flag as that has no meaning with MinGW compilers.
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: AVG virus scanner
It is crap like this as to why I run Unix and don't worry about all this nonsense.JoshPettus wrote:Not sure how to fix it except download cygwin and let it reinstall what was lost.
But then what about your server application? Did it try to move the source code as well?
It's crap like this is why I go to ClamAV when I must have virus protection (my school demands it even if you are on a *nix operating system). If I'm on windows i use one of the windows derivatives like
http://www.clamwin.com/
-
- Posts: 373
- Joined: Thu Aug 14, 2008 3:21 am
- Location: Albuquerque, NM
Re: AVG virus scanner
Seems like you've already resorted to reinstall.
I think this would have been better handled by AVG support or forums. It is possible to exclude directories from AVG. However, you never know, maybe it was actually right.
Not likely, IMO. I don't even run AV anymore. I just hit VirusTotal in the rare instance I need to install something new, or update software. Been running XP x64 without AV for at least 3 years now. Clearly the security risk is overblown on such a setup. But I do backup regularly, run behind a hardware firewall, run a limited account, and avoid IE. Not planning a return to GNU/Linux anytime soon, as this keeps MS out of my life pretty well.
I think this would have been better handled by AVG support or forums. It is possible to exclude directories from AVG. However, you never know, maybe it was actually right.
Not likely, IMO. I don't even run AV anymore. I just hit VirusTotal in the rare instance I need to install something new, or update software. Been running XP x64 without AV for at least 3 years now. Clearly the security risk is overblown on such a setup. But I do backup regularly, run behind a hardware firewall, run a limited account, and avoid IE. Not planning a return to GNU/Linux anytime soon, as this keeps MS out of my life pretty well.