Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cmd getting gcc out of an unknown path

08 Jan 2012   #1
shiroaisu

64 bit win7 home
 
 
Cmd getting gcc out of an unknown path

Hello

I have mingw32 with gcc 4.6 installed, but when i try to run it trough the console, the console picks up another gcc which is not the one i want (its a gcc 2.9 executable). The problem is that i dont know where to find this gcc.exe the cmd is going for. This is really anoying since when i want to build something using a makefile, the make file tries to reach for gcc and the gcc it gets cant even find the include paths, and is very old.

Before you ask, yes, im sure the version i installed is the version 4.6, and im sure my PATH variable is correct.

Is there any command i can use to find the path of the file the cmd is using?

thank you in advance.


My System SpecsSystem Spec
.
09 Jan 2012   #2
startas

Windows 7 Pro x64
 
 

Well, you can just check all the path variable locations and search for gcc.exe, it's easy, simple and fast :)
My System SpecsSystem Spec
Reply

 Cmd getting gcc out of an unknown path




Thread Tools




Similar help and support threads
Thread Forum
path name
how do I show path in windows 7
General Discussion
Open a new window with "full path" instead of Search Results\"Path"
How can I make it such that in Search Results, when I open a folder in a new window (by right-clicking a file), I will be directed to a window with the "full path" displayed in the address bar, instead of Search Results\"Path" or Search Results>"Path"? Edit: "Right-click -> open file location"...
General Discussion
Windows Recovery disk shows operating system: Unknown on (Unknown)
I've been trolling the forums here for a while. Lots of great info but now I actually have an issue where I need some assistance. :D When I was booting one day last week I got a nasty BSOD when Windows was trying to load. Then on the next reboot Windows 7 said it couldn't load and needed to do...
BSOD Help and Support
Which path for me?
Hello SevenForums, I was wondering if you would kindly help me. My name is Darren and I'm from the UK. I've just turned 17 and I am due to start the Zenos IT academy where I will be working towards a diploma to become a Microsoft Certified System Administrator along with an NVQ level 3. I'm...
Chillout Room
Show Path
I am trying to show the path for files and folders. I did a search and found this procedure: In Folder Options on the View Tab I set as the below Image shows. but now I have to get folders into the Classic view to actually show the path. To change folders to Classic view
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:20.
Twitter Facebook Google+