make crosstest broken (tmarshal)

Michal Okresa mokresa at codeweavers.com
Thu Jan 25 03:00:31 CST 2007


On Thursday 25 January 2007 07:51, Paul Vriens wrote:
> as far as I can see it's not the fact that tmarshal.h is not there. It's
> the fact it's not build, as the .idl files are there (on a clean Wine it's
> not in the tests directory as well). On a 'normal' Wine-tree you will see
> it being built:
>
> ../../../tools/widl/widl -I. -I. -I../../../include -I../../../include   
> -h -H tmarshal.h tmarshal.idl

Hi,

I pointed out that cross compilation doesn't work for tmarshal test here: 
http://www.winehq.org/pipermail/wine-patches/2007-January/035157.html . It's 
happen because build system doesn't generate appropriate files.

You may build test by hand with following commands:

make test (this generates tmarshal.h, tmarshal_i.c, tmarshal.tlb, 
tmarshal.res)

i586-mingw32msvc-gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o 
tmarshal_i.cross.o tmarshal_i.c

i586-mingw32msvc-gcc olefont.cross.o olepicture.cross.o safearray.cross.o 
tmarshal.cross.o typelib.cross.o usrmarshal.cross.o varformat.cross.o 
vartest.cross.o vartype.cross.o tmarshal.res.cross.o testlist.cross.o 
tmarshal_i.cross.o -o 
oleaut32_crosstest.exe -loleaut32 -lole32 -lshlwapi -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -lkernel32 -luuid -luser32

-- 
Michal Okresa



More information about the wine-devel mailing list