> > > Did you try with `which gcc` and starting from there?
> >
> > Yes, thanks.  But I haven't spent enough time thinking about an easy way to
> > use following to translate the `which gcc` path back to the cmd.exe friendly
> > version...likely will settle on a (hopefully non-fragile) regex on the `sh
> > -c "mount"` output.
> >
> 
> Bash has which, cmd has "where". The latter outputs all occurences on PATH
> though, not only the first.
> 
> Ruben

Thanks. Doh, back to google search school http://ss64.com/nt/where.html

C:\Users\Jon\Documents>ripl
>> system('where gcc')
C:\DevKit-w64\mingw\bin\gcc
C:\DevKit-w64\mingw\bin\gcc.exe

Sorry for the noise :(

Jon

---
blog: http://jonforums.github.com/
twitter: @jonforums

Most people die of a sort of creeping common sense, and discover when it
is too late that the only things one never regrets are one's mistakes.
                                                           - Oscar Wilde

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to