This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Looking for gcc.exe


On 6/28/2010 10:01 AM, Stephen Morton wrote:
"Sisyphus"<sisyphus1 at optusnet ...> Wrote:
I've just installed a fresh "CYGWIN_NT-6.0-WOW64 desktop2
1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin", including gcc-4
(4.3.4-3).

According to http://cygwin.com/packages/ there should be an executable
named gcc.exe in there - but I see only gcc-4.exe. As a quick fix I've
created a copy of gcc-4.exe named gcc.exe, and I expect that will work
ok. (I've also done the same wrt cpp-4.exe, g++-4.exe and gcov-4.exe.)
Is that what we're supposed to do ? ... or did I miss something ?


You need to add /etc/alternatives to your path.

I would not recommend this. There is always a symbolic link in '/usr/bin' for 'gcc' if it's been properly installed. There's no need to clutter your path regardless though. Just run 'sh /bin/set-gcc-default-4.sh' if you're missing '/usr/bin/gcc'.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?

-- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]