delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/30/02:55:09

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
Message-ID: <000d01c27fe9$9ba9f6f0$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "jblazi" <jblazi AT gmx DOT de>, <cygwin AT cygwin DOT com>
References: <F29KrUV0hCLwHc9ny7B0000d861 AT hotmail DOT com> <200210300011 DOT 08499 DOT jblazi AT gmx DOT de> <005501c27fa4$86136fa0$78d96f83 AT pomello> <200210300820 DOT 31545 DOT jblazi AT gmx DOT de>
Subject: Re: Cannot compile my first Cygwin program
Date: Wed, 30 Oct 2002 07:54:43 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

jblazi <jblazi AT gmx DOT de> wrote:

> Thank you for your help.

No problem.

>> The -I option shouldn't be needed at all.
>
> I saw that there is no such thing in the Cygwin examples. I suspect
> that I should set some variables manually. But which ones?

None.

>> *Backslash paths* !?!?! From *Cygwin* gcc? Could you have some other
>> gcc on your Windows system?
>
> I do not understand what you mean. It plays absolutely no rôle
> whether I use \cygwin... or /cygwin...

The error messages you posted showed backslashes in the error messages.
Cygwin gcc prints forward-slash paths in its error messages.

>> Run the command "gcc -v" and post the output.
>
> Here is the output:
>
> d:\cygwin\home\Administrator\c-programme>gcc -v
> gcc -v
> Using builtin specs.
> gcc version 2.95 19990728 (release)

Right - This version of gcc is either not from Cygwin at all, or is truly
ancient.
You should probably remove your Cygwin install and install the latest
version.

>> So / = d:\cygwin, but you don't want the -I option anyway.
>
> If I do not specify -I then the include path is not found and I get
> an error message.

This indicates that your installation is broken, not that you are supposed
to supply a command line option.

Max.

PS: Please keep replies on cygwin AT cygwin DOT com.


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