No don't! Adding the -mno-cygwin and -D_WIN32 create a context that seems to bypass the cygwin layer to win32 api. Which VLC seems to do for the network stuff of live555 library. It would be possible to have the live555 testing applications link without error by using the w32api libraries of cygwin (I tried). But this would need more modifications to the config.cygwin that will likely break many third party applications that use the full standard context of cygwin and don't want to bypass the cygwin layer.
I believe it would be possible to modify the config.cygwin file such that it could support both context options. May be by using some environment variable defining the context in cygwin to be use. But I have not enough understanding of cygwin development to do it with confidence that I will not break anything. May be if there is a VLC developer on this list and that he finds that this is "his cup of tea" and want to do it. Regards Guy Bonneau > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ross Finlayson > Sent: Wednesday, November 26, 2008 8:04 PM > To: LIVE555 Streaming Media - development & use > Subject: Re: [Live-devel] Live555 Compilation for VLC in cygwin > > I don't want to add - to our distribution - anything that's > specific to VLC, because (i) VLC is only one of the many 3rd > party applications that use our code, and (ii) because VLC is > not our code, it is difficult to keep track of if/when any > VLC dependent code of ours will continue to be correct. > > The only difference between your config file and the existing > "config.cygwin" is in the definition of C_FLAGS and CPLUSPLUS_FLAGS. > Therefore I wonder: Will your "config.cygwin-vlc" work for > building the "LIVE555 Streaming Media" code - including the > "testProgs" - by itself, without VLC? If so, then I could > just replace our "config.cygwin" with your config file. > Please let me know if I can go ahead and do this. > -- > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel