delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/26/10:32:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <17B78BDF120BD411B70100500422FC6309E01C@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
To: "'Fontenot Larry A DLVA'" <FontenotLA AT NSWC DOT NAVY DOT MIL>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Weird behavior when using "-I" with gcc-2.95.2
Date: Wed, 26 Apr 2000 17:29:11 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA08262

> -----Original Message-----
> From: Fontenot Larry A DLVA [mailto:FontenotLA AT NSWC DOT NAVY DOT MIL]
> Sent: Tuesday, April 25, 2000 9:04 PM
> To: 'cygwin AT sourceware DOT cygnus DOT com'
> Cc: Fontenot Larry A DLVA
> Subject: RE: Weird behavior when using "-I" with gcc-2.95.2
> 
> 
> 
> Well, the only solution I could come up with was to compile with the
> following:
> 	g++ -I /usr/i686-pc-cygwin/include -I./ -c hello.cpp
> 

And what happens if you use -I. instead of -I./; "-Isomething" is used to
search "#include <file>" as "something/file", so using "-I./" to get
"<sys/cdefs.h>" will try to look at ".//sys/cdefs.h" which is an invalid
path as "//" should only occur at the beginning of a path name under
Losedows :-)

HTH

		Bernard


--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
-------------------------------------------- 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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