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). 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