delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <497DB1CC.2070108@byu.net> |
Date: | Mon, 26 Jan 2009 05:51:24 -0700 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, ian AT underpressuredivers DOT com |
Subject: | Re: Compiler error - missing iconv.h with -mno-cygwin |
References: | <023f01c97fa3$fc3b95d0$f4b2c170$@com> |
In-Reply-To: | <023f01c97fa3$fc3b95d0$f4b2c170$@com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ian Puleston on 1/26/2009 3:51 AM: > But iconv.h does exist in /usr/include, so why can the compiler not find it? > Is it looking somewhere different for include files when compiling with > -mno-cygwin? Yes, the compiler is looking somewhere else when you use -mno-cygwin; after all, that option means that you are not compiling for cygwin (implicitly, it means you are cross-compiling for mingw). The confusion caused by this option that turns on cross-compilation is also the reason that the gcc-4 release will not support -mno-cygwin. Search the list archives for more details. Ask the mingw list if you need more details of why mingw does not provide iconv.h. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl9scwACgkQ84KuGfSFAYAajACcCQbBJJ440PrUjZZGrxbi8CVE Bt0An1NXNS5HKnmY3/ebm7bDyKj+glWo =FTn8 -----END PGP SIGNATURE----- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |