public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cannot compile my first Cygwin program
@ 2002-10-29 15:40 Elfyn McBratney
  2002-10-29 17:23 ` jblazi
  0 siblings, 1 reply; 11+ messages in thread
From: Elfyn McBratney @ 2002-10-29 15:40 UTC (permalink / raw)
  To: jblazi; +Cc: cygwin

>
>I am trying to compile my first cygwin application. Here is my command 
>line:
>
>gcc -I /cygwin/usr/include/sys test.c -o test.exe

Try this instead:

gcc -I/cygwin/usr/include test.c -o test.exe

or

gcc test.c -o test.exe -I/cygwin/usr/include

(by the way you don't need to add the .exe on the exec filename. and just 
out of curiousity do you mean / instead of /cygwin?)

Its more easier this way

>
>and I get the error message
>
>gcc: installation problem, cannot exec 'cc1.plus': No such file or 
>directory

Dont know what the hell that means, can you post your source code?

>
>Can anybody help me?
>
>TIA,
>--
>Janos Blazi
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Cannot compile my first Cygwin program
@ 2002-10-30  3:44 Max Bowsher
  2002-10-30  5:24 ` Janos Blazi
  0 siblings, 1 reply; 11+ messages in thread
From: Max Bowsher @ 2002-10-30  3:44 UTC (permalink / raw)
  To: jblazi, cygwin

>From: jblazi <jblazi@gmx.de>
>I downloaded and installed cygwin yesterday. So what exactly should I do?

Where did you download Cygwin from? 
Because that version of gcc is definitely not from any Cygwin release in the past 3 years or so.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Cannot compile my first Cygwin program
@ 2002-10-29 20:47 Dockeen
  0 siblings, 0 replies; 11+ messages in thread
From: Dockeen @ 2002-10-29 20:47 UTC (permalink / raw)
  To: cygwin

Max Bowsher made a very important point from a diagnostic point, 
he said:

"Run the command "gcc -v" and post the output."

This may give a tipoff if something is wrong with your gcc install.
Also run:

which gcc

and give the results.  This will tell us where gcc is coming from,
and whether there might be interference from somewhere.

By the way, did you try the suggestion to reinstall gcc (which
is in the devel category)???

Wayne Keen

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cannot compile my first Cygwin program
@ 2002-10-29 15:25 jblazi
  2002-10-29 15:37 ` Max Bowsher
  0 siblings, 1 reply; 11+ messages in thread
From: jblazi @ 2002-10-29 15:25 UTC (permalink / raw)
  To: cygwin

I am trying to compile my first cygwin application. Here is my command line:

gcc -I /cygwin/usr/include/sys test.c -o test.exe

and I get the error message

gcc: installation problem, cannot exec 'cc1.plus': No such file or directory

Can anybody help me?

TIA,
-- 
Janos Blazi


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-10-30 12:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 15:40 Cannot compile my first Cygwin program Elfyn McBratney
2002-10-29 17:23 ` jblazi
2002-10-29 20:13   ` Max Bowsher
     [not found]     ` <200210300820.31545.jblazi@gmx.de>
2002-10-30  1:38       ` Max Bowsher
2002-10-30  2:59         ` jblazi
  -- strict thread matches above, loose matches on Subject: below --
2002-10-30  3:44 Max Bowsher
2002-10-30  5:24 ` Janos Blazi
2002-10-30  6:54   ` David Starks-Browning
2002-10-29 20:47 Dockeen
2002-10-29 15:25 jblazi
2002-10-29 15:37 ` Max Bowsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).