Hi Danny,

thanks for the quick response.
I installed the mingw packages and it worked allmost out of the box...

When compiling ACE, I ran into a compiler error regarding _wfdopen.

In MSDN (http://msdn.microsoft.com/en-us/library/ms861280.aspx), the 
second parameter of the _wfdopen function is declared as
"const wchar_t *" while in your header files (stdio.h and wchar.h), the 
second parameter is declared as "wchar_t *".
Can you confirm this ?

Thanks,

Marcel.




Danny Backx wrote:
> On Mon, 2009-04-06 at 16:10 +0200, Marcel Smit wrote:
>> When compiling the ACE-project, I run into a few compiler errors. Most 
>> of them I was able to resolve but there are a few errors left. Most of 
>> these errors are related to functions which couldn't be found. To name a 
>> few :
>>
>> - _fileno
>> - _wputs
>> - _wfdopen
>> - _isctype
>>
>> and a few others.
> 
> You're on a slippery slope. You mention cegcc (not mingw32ce) which
> means you're using our compiler with the newlib library.
> 
> Newlib has its own version of stdlib, which is similar but different to
> the one in coredll (the "system" DLL in WinCE).
> 
> If you're wondering why I say this : mixing them is BAD.
> 
> Our newlib doesn't implement all the functions you mention :
>     dannypc: {442} arm-cegcc-nm libcegcc.dll.a | grep fdopen
>     00000000 I __imp_fdopen
>     00000000 T fdopen
>     00000000 I __imp__fdopen_r
>     00000000 T _fdopen_r
>     dannypc: {443} arm-cegcc-nm libcegcc.dll.a | grep wputs
>     dannypc: {444} 
> but maybe COREDLL has what you need.
> 
> In other words : have a look in libcegcc and in libcoredll, think about
> which environment (cegcc with the unix-like newlib, or mingw32ce) you
> want to use.
> 
>       Danny

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to