Issues building the spec.o on win32 with mingw

Alexandre Julliard julliard at winehq.com
Fri May 3 20:27:04 CDT 2002


"Steven Edwards" <Steven_Ed4153 at yahoo.com> writes:

> .previous can be fixed easy it seems. Will the dlls be relocateable if I
> can use the spec and winebuild?

You really can't use the .spec.c file. The result won't be a proper PE
dll, and you would need the Wine loader to patch things up at run-time
to make it look like a real dll. It's much easier to build a true PE
dll in the first place.

> The current system works well for you guys and I don't want to have To
> make any major changes to the build system if I can avoid it.

Don't be afraid of suggesting changes. There are many things in the
build system that could be done differently without impacting the Unix
side at all, and making Wine more portable is always a good thing.

> PATH="../../unicode:$PATH" ../../tools/winebuild/winebuild  -L../../dlls
> -sym pr ogman.tmp.o -o progman.spec.c -spec ./progman.spec
> ./progman.spec:5: Cannot read rsrc.res
> 
> The specs I tested before didn't have any resources with them so I
> didn't notice this. Is there anyway I can debug winebuild to see what is
> really going on here?

This message comes from load_res32_file() in tools/winebuild/res32.c.
Looks like the read() failed to read the whole file.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list