Hi Kendy,

the last winegcc changes break mingw build.
I can isolate the problem:

winegcc -m32 -o conftest.exe -g -O2 conftest.c
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -ladvapi32 /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -luser32 /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lkernel32 /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lntdll
collect2: ld returned 1 exit status
winegcc: gcc failed

and with -nodefaultlibs option:

winegcc -nodefaultlibs -m32 -o conftest.exe -g -O2 conftest.c
conftest.exe-o6GAKs.spec.o: In function `__wine_spec_nt_header':
(.data+0x28): undefined reference to `__wine_spec_exe_entry'
conftest.exe-o6GAKs.spec.o: In function `__wine_spec_pe_header':
(.init+0x11006): undefined reference to `__wine_spec_init_ctor'
collect2: ld returned 1 exit status
winegcc: gcc failed

Should we have a workaround for it: fall back to the zip creation?
--without-winegcc has currently no effect, though.

Ciao
David
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to