delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/09/12:09:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <001901c929f3$030ee7b0$4001a8c0 AT mycomputer> <042101c929fb$1a61d8c0$9601a8c0 AT CAM DOT ARTIMI DOT COM> <011201c92a05$531a5ed0$4001a8c0 AT mycomputer> <48EDF178 DOT 1020705 AT byu DOT net> <48EDF3DF DOT 9090000 AT byu DOT net> <003401c92a1d$44ad5c40$4001a8c0 AT mycomputer> <046201c92a21$eac47240$9601a8c0 AT CAM DOT ARTIMI DOT COM> <002801c92a27$8d6557d0$4001a8c0 AT mycomputer>
Subject: RE: __CYGWIN_USE_BIG_TYPES__
Date: Thu, 9 Oct 2008 17:08:44 +0100
Message-ID: <047b01c92a29$4df55800$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <002801c92a27$8d6557d0$4001a8c0@mycomputer>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

John Emmas wrote on 09 October 2008 16:56:

> From: "Dave Korn"
>
>> ... you forgot to show us the compiler command-line you're using.
>> 
> Sorry, I realised almost as soon as I'd posted.  Here's what gets sent to
> g++ (I've split all the elements onto different line just to improve
> legibility).  Is this enough Dave?
> .
> g++.exe -Wall  -g
> -IF:/test/libs/vamp-sdk/
> -IC:/cygwin/usr/include/mingw

  Do not attempt to include mingw headers if you are not building a mingw
program!

> -IC:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/include/c++

  Do not mess about with the compiler's private include dirs!

  Sounds like your makefile is trying to be overly clever.  Let the compiler
choose the system include paths and it will always be right.  Try and
second-guess it and you're on a hiding to nothing: either you'll get it right
and everything will be the same as if you had saved yourself the bother, or
you'll get it wrong and run into bugs.

  Does it work if you remove those two -I options?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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