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: gcc does not execute - why ?


On Wed, Jan 13, 2010 at 10:04 PM, Luca Bottura <Luca.Bottura@cern.ch> wrote:
> I have a puzzling behaviour trying to run gcc (and the other gnu compilers)
> right after installing cygwing 1.7.1 on Pentium running XP, and adding gcc
> (using the gcc installer helper for the selection of packages in setup). The
> command
>
> gcc-3 test.c
>
> is executed but has no effect. No object, no executable, no message.

What does the following print?

gcc-3 -v test.c

Watch out for:
1) The output is called a.exe, not test.exe
2) "test" is a shell (sh, bash) built-in. If you create a test.exe and
the run test, it will run the built-in, not your test.exe

-- 
Life is complex, with real and imaginary parts

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