This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 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: glut (for X) cannot be compiled without -mno-cygwin


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens Seidel wrote:
> Yep, you're right. I installed it and now it seems to work better.
> It just failed because of a missing __isnand function in libm. Afer
> providing (only as a workaround) my own it works flawlessly.

__isnand *is* in the current cygwin (1.5.21).

(BTW, you don't need to link against libm on cygwin; all those functions
are provided by libcygwin itself; libm is present only for compatibility
with build systems that expect it.)

> Since I was first not sucessful without freeglut, I tried also a mingw build
> using -mno-cygwin. Of course I did not expect a proper linking step but it
> helped me to make my application more standard conform.
> 
> Nevertheless it seems that this a fragile. So I first failed because
> /usr/bin/make.exe was not found. The funny thing is that I could use
> /cygdrive/c/usr/bin/make.exe :-) A symlink fixed this.
> 
> Also some header files such as gmp.h could not be found in /usr/include.
> Once I added -I/usr/include (which should be the default) I got a lot of
> crazy errors. Adding a symlink to a local include directory helped.

Sounds like your mounts are seriously messed up.


Yaakov
Cygwin Ports
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE27e7piWmPGlmQSMRArgnAJ9XzVqzthoc6W726nP+lBoJlHjJpgCfdcDx
8t16rGhEwlYf3kH0kMCd5i8=
=vZDE
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


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