bug or feature: libd3dx9.cross.a
misha680 at gmail.com
Wed Jul 7 09:23:25 CDT 2010
I have run into another slight issue and, as this may affect others, was
wondering whether or not I am
(i) doing something wrong or
(ii) this is something that should be corrected (in that case I am happy
to submit a patch but need a bit of guidance as to where this could be
fixed as I could not immediately find it).
Specifically, if I do, from the main Wine source directory:
make clean; make
I get all files _except_ libd3dx9.cross.a, resulting in a dangling
symlink in the dlls directory and a mysterious failure when doing:
rm *.exe; make crosstest
../../../tools/winegcc/winegcc -b i586-mingw32msvc
-B../../../tools/winebuild --sysroot=../../.. --lib-suffix=.cross.a
asm.cross.o core.cross.o effect.cross.o line.cross.o math.cross.o
mesh.cross.o shader.cross.o surface.cross.o rsrc.res testlist.cross.o -o
d3dx9_36_crosstest.exe -ld3dx9 -ld3d9 -luser32 -lgdi32 -lkernel32
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -ld3dx9
collect2: ld returned 1 exit status
winegcc: i586-mingw32msvc-gcc failed
make: *** [d3dx9_36_crosstest.exe] Error 2
However, if I simply do
All is well.
Is this a bug or feature? It seems un-user friendly for new developers
trying to add functions to DLLs.
Any good way to fix?
More information about the wine-devel