delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/29/16:57:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [195.92.67.69]
From: "Elfyn McBratney" <emcb_exposure AT hotmail DOT com>
To: jblazi AT gmx DOT de
Cc: cygwin AT cygwin DOT com
Subject: Re: Cannot compile my first Cygwin program
Date: Tue, 29 Oct 2002 21:57:02 +0000
Mime-Version: 1.0
Message-ID: <F29KrUV0hCLwHc9ny7B0000d861@hotmail.com>
X-OriginalArrivalTime: 29 Oct 2002 21:57:03.0026 (UTC) FILETIME=[1D201920:01C27F96]

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019