delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/25/14:38:34

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: <200004251937.OAA07845@hp2.xraylith.wisc.edu>
To: Fontenot Larry A DLVA <FontenotLA AT nswc DOT navy DOT mil>
cc: "'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
In-reply-to: Your message of "Tue, 25 Apr 2000 15:03:50 EDT."
<7B4C28C84831D211BFA200805F9F34567030F4 AT nswcdlvaex04 DOT nswc DOT navy DOT mil>
Date: Tue, 25 Apr 2000 14:37:58 -0500
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>

Fontenot Larry A DLVA <FontenotLA AT NSWC DOT NAVY DOT MIL> writes:
> 
> 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
> 
> I have since moved the contents of /usr/i686-pc-cygwin/bin,
> /usr/i686-pc-cygwin/include, and /usr/i686-pc-cygwin/lib to /usr/bin,
> /usr/include, and /usr/lib, respectively.  I thought that might help, but I
> still need to compile with the following:
> 	g++ -I /usr/include -I./ -c hello.cpp
> 
> I even tried reinstalling the entire cygwin set with the newsetup.exe.  No
> difference.

This is very odd indeed, and I wonder why gcc/cpp is producing the 
`invalid argument' error!

Please provide a bit more info on your platform:
  
  $ echo "g++ -I./ -c hello.cpp" > bug.txt
  $ g++ -I./ -c -v -H hello.cpp >> bug.txt 2>&1
  $ cygcheck -s -r >> bug.txt 2>&1

and post the resulting bug.txt file.

Regards,
Mumit


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