Nuno Lucas wrote:
> On 11/10/06, Peter Schojer <[EMAIL PROTECTED]> wrote:
>   
>> Hi all,
>> I recently discovered cegcc and I'm trying to compile a library as dll.
>> system: Cygwin
>> cegcc: subversion 20061009
>>
>> The following statement gives me a undefined reference to
>> GetDurrentDirectoryW not found (though it is defined in winbase.h):
>>     
>
> It's defined because we use the mingw32 headers, but Windows CE has no
> concept of current directory, so that will never work (I'm not sure if
> we should go all the way to hidding this functions from the mingw32
> headers. If yes, then this can be considered a bug).
>   
Thx for your answer but unfortunately it is not only GetCurrentDirectoryW.
But if I read it correctly methods are defined which are not 
implemented? That actually prevents one
from using WinCE emulation packages (which add implementations for these 
missing functions but
now fail  to compile due to the existing entry/-ies in winbase.h).

So it would be desirable to get rid of them, though, considering this is 
a version 0.1,
you have done a great job so far. I was impressed that my code compiled 
nearly out of the box,
it's just the linkage now :-)

br
Peter

> As you are using the "posix like" cegcc compiler you can try using
> getcwd(). I believe newlib emulates a current directory on windows ce.
>
>
> Regards,
> ~Nuno Lucas
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Cegcc-devel mailing list
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to