This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiler error - missing iconv.h with -mno-cygwin


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]