Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows Vista/Windows 7 Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Reply
 
LinkBack Thread Tools
Old 04-08-2009, 09:38 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Washington
Posts: 42
OS: Vista 64-bit, XP, Vista 32-bit


[SOLVED] Cygwin in command prompt.

I am trying to get cygwin to work in command prompt on Vista. Specifically I want gnu for program compilation. I place this into my path in my system variables "C:\cygwin\bin". This works for XP, but maybe I'm just missing something. I have installed cygwin and no visible problems occurred during install. The main problem is that if I try to use the g++ or gcc commands in command prompt, it says "'g++' is not recognized as an internal or external command, operable program or batch file". I have also created a PATH in my user variables with the "C:\cygwin\bin", but it still does not work.
Haligen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 04-09-2009, 06:45 AM   #2 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: The Great State of New Jersey - away from the gross corruption of the Riverside County, CA, S.O. . . . . . . . SHAMEFUL ACTIVITIES INDEED ! ! !
Posts: 10,164
OS: Windows 7, Vista Ultimate

My System

Re: Cygwin in command prompt.

Hi -

Are you executing the program from an elevated admin cmd/DOS prompt?

Since using a directory created in the c: root, file permission settings may be interfering. I'd like to see the SET command output and 2 directory listings. Please run the following from an elevated admin cmd/ DOS screen -
START | type cmd.exe | right-click on cmd.exe above under programs - select run as admin. Then paste each line 1 at a time into DOS screen - hit enter if necessary -
Quote:
SET > "%temp%\1.txt" & dir c:\cyg /a /r /q /s >> "%temp%\1.txt" & dir c:\*.* /a /r /q >> "%temp%\1.txt" & start notepad "%temp%\1.txt"

A notepad will open with results. Save text file & attach to next post.

Regards. . .

jcgriff2

.


dir c:\ /a /r /q
__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
Glad to be home in the Great State of New Jersey ! !
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-10-2009, 09:14 AM   #3 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Washington
Posts: 42
OS: Vista 64-bit, XP, Vista 32-bit


Re: Cygwin in command prompt.

I have not been, it could be the problem. Here is what the command you gave me outputted.
Attached Files
File Type: txt System.txt (2.7 KB, 1 views)
Haligen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-10-2009, 09:30 AM   #4 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: The Great State of New Jersey - away from the gross corruption of the Riverside County, CA, S.O. . . . . . . . SHAMEFUL ACTIVITIES INDEED ! ! !
Posts: 10,164
OS: Windows 7, Vista Ultimate

My System

Re: Cygwin in command prompt.

Hi -

1 more command, please - I spelled the directory name wrong - apologies.

START | type cmd.exe | right-click on cmd.exe above under programs - select run as admin. Then paste into DOS screen - hit enter if necessary -
Quote:
SET > "%temp%\1.txt" & dir c:\cygwin /a /r /q /s >> "%temp%\1.txt" & dir c:\*.* /a /r /q >> "%temp%\1.txt" & start notepad "%temp%\1.txt"

Zip & Upload/attach.

Thanks. . . JC

.
__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
Glad to be home in the Great State of New Jersey ! !

Last edited by jcgriff2; 04-10-2009 at 09:32 AM.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-12-2009, 09:53 PM   #5 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Washington
Posts: 42
OS: Vista 64-bit, XP, Vista 32-bit


Re: Cygwin in command prompt.

So I fixed my problem, I just installed Cygwin from an iso instead of off the internet, so now it seems to be working fine. I do have another issue, but I think I should post it in a new thread.

Anyways what is going on is that I want to watch movies from my computer through my Xbox 360. I have been able to do this until recently. Now when I try to access data from my computer through my 360 my windows media sharing program fails ( this is from the computer side of things not the xbox, or at least visually). a pop up window comes up and says that it has failed and nothing else. Tell me if I should post this in a new thread please.
Haligen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-18-2009, 01:41 AM   #6 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Washington
Posts: 42
OS: Vista 64-bit, XP, Vista 32-bit


Re: [SOLVED] Cygwin in command prompt.

For future reference to people installing cygwin onto vista or higher windows OS's (ie windows 7... I'm only assuming this issue could occur). Just keep clicking okay on the error messages or program is not responding messages. Sooner or later the install will finish and usually cygwin will work without any problems. If it does not work try re-installing it. If it still does not work, then re-download it from the cygwin site or another mirror.
Hope this helps with anyone who checks out this thread.
Haligen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:11 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85