2013/07/13, JonY wrote: > On 7/13/2013 22:25, Florent Monnier wrote: >> + flexlink -chain mingw -stack 16777216 -o .\dllsdl2_stubs.dll >> sdlinit_stub.o sdlquit_stub.o sdlrect_stub.o sdlblendMode_stub.o >> sdlsurface_stub.o sdlwindow_stub.o sdlrender_stub.o sdltexture_stub.o >> sdlpixel_stub.o sdlevent_stub.o sdlkeyboard_stub.o sdlkeymod_stub.o >> sdlmouse_stub.o sdljoystick_stub.o sdlinput_stub.o sdlclipboard_stub.o >> sdltimer_stub.o sdlgl_stub.o sdlaudio_stub.o sdlversion_stub.o >> sdlcpuinfo_stub.o sdlpower_stub.o sdlerror_stub.o sdl_platform_stub.o >> -L/usr/local/lib -lmingw32 -lSDL2main -lSDL2 -lm -luser32 -lgdi32 >> -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid >> >> ** Fatal error: Error while reading >> C:/cygwin/usr/i686-w64-mingw32/sys-root/mingw/lib/libmoldname.a: >> End_of_file >> > > Maybe flexlink needs to learn to handle empty archives? You can copy > libm.a over to libmoldname.a as another workaround.
Indeed your workaround solves the compilation error. Thank you very much! I've reported the problem to the author of FlexDLL. -- Regards -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple