[vlc-devel] Re: compiling in cygwin with -mno-cygiwn

Gildas Bazin gbazin at altern.org
Tue Mar 9 14:18:02 CET 2004


On Tuesday 09 March 2004 12:44, R. Bernstein wrote:
> I have started looking into getting libcddb and libcdio to build in
> cygwin without POSIX emulation, i.e. with -mno-cygwin.
> 
...
> 
> Okay. Here are some other things that comes up a bit.
> 
> fprintf(stderr, ... 
> 
> causes problems. It gets replaced by _iob or something like that. And
> errno isn't defined either. 
> 
> Anyone know what corresponding magic is needed for cygwin/mingw here? 
> 

My bet here is that one of your files wasn't compiled with the -mno-cygwin 
switch. You also have to make sure that the linking is done with the 
-mno-cygwin switch as well but it should be if you passed the correct CC 
environment variable.

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list