> On Sat, 13 Mar 2010, Danny Backx wrote:
> 
> > On Tue, 2010-03-09 at 01:41 -0500, Pavel Pavlov wrote:
> >> For some reason in cegcc sdk some functions ifdefed this way:
> >>
> >> #if (_WIN32_WINNT >= 0x0501)
> >> void WSAAPI freeaddrinfo (struct addrinfo*);
> >> int WSAAPI getaddrinfo (const char*,const char*,const struct
> addrinfo*,
> >>                    struct addrinfo**);
> >> int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
> >>                   char*,DWORD,int);
> >> ...
> >>
> >>
> >> Even though these are awailable as of Windows CE .NET 4.1 and later:
> http://msdn.microsoft.com/en-us/library/ms910263.aspx
> >> Mobile 6 sdk doesn't have any ifdef's around them also, so I think
> this header needs to be modified.
> >
> > Is it just that chunk that needs fixing ? Then I could change to
> >
> > #if (_WIN32_WINNT >= 0x0501) || defined(_WIN32_WCE)
> 
> shouldn't the version of _WIN32_WCE be tested ?


Well, wince sdk from ms doesn't have any tests, msdn says that the api is 
available from ce.net 4.1 so probably that should be tested then.

Guys, just a side note... I need to build for qualcom's snapdragon but I have 
no idea what switches I need to use to enable suitable arm version. Is there a 
magic combination to make cegcc printout list of available target -mcpu and 
-march switches? Right now I go to cegcc sources and see list of defined cpu in 
the source code and try using them, but nothing works for me (invalid switch). 
I'll try to rebuild latest version and I'll see if I can use that. I tried to 
use it a while ago, but my binaries wouldn't run if built by that version of 
cegcc (I'm mostly doing some voice/video stuff and ffmpeg)

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to