[ Sorry I didn't reply sooner, I was out-of-office over the last week. ]

Girish Adiga wrote:
> I am trying to build SDL on cygwin platform using cross compiler cegcc. 
> I found out that there is no user32 or any other related libraries 
> available on cygwin cegcc environment. But at the same time all these 
> required libraries available on mingw32 + msys environment.
> 

You're somewhat confused.  user32.dll doesn't exist in any cegcc/mingw32ce
environment, no matter the host (cygwin, msys, linux, etc.) because
user32.dll doesn't exist for Windows CE.  What you're seeing on a
mingw32 + msys host environment is the import lib for the
hosts' user32.dll.  That is, you're seeing a libuser32.a for
x86/Windows.  Not what you want, really.

The fix is to fix the SDL link line to not link to user32 when
targetting Windows CE.

-- 
Pedro Alves

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to