Compiling MFC with latest CVS checkout.
Dimitrie O. Paun
dimi at intelliware.ca
Thu Apr 15 16:16:53 CDT 2004
On Thu, 15 Apr 2004, Manjunath Sripadarao wrote:
> >wineg++ -v -mwindows -mno-cygwin -o mfcdb.so mfcdb.res mfcdb.dbg.o
> >-lodbc32 -lole32 -loleaut32 -lwinspool -luuid
> >
> Thanks for the quick reply.
What version of Wine are you using? I can't make sense of this.
Your command line doesn't have any -xc++ option, where does this
come from:
> make[1]: Entering directory `/home/manju/MSVS/mfc/src'
> wineg++ -v -mwindows -mno-cygwin -o mfcdb.so mfcdb.res mfcdb.dbg.o
> -lodbc32 -lole32 -loleaut32 -lwinspool -luuid
> winebuild -o mfcdb.exe-EX63Tl.spec.c --exe mfcdb.exe --subsystem windows
> -L/home/manju/lib/wine -L/home/manju/lib -L/usr/lib -L/usr/local/lib
> -L/lib -rmfcdb.res mfcdb.dbg.o -lodbc32 -lole32 -loleaut32 -lwinspool
> /home/manju/lib/wine/libuuid.a -lmsvcrt -lshell32 -lcomdlg32 -lgdi32
> -ladvapi32 -luser32 -lkernel32
> gcc -fshort-wchar -DWINE_UNICODE_NATIVE -D_REENTRANT -fPIC
> -I/home/manju/include/wine/msvcrt -D__MSVCRT__
> -I/home/manju/include/wine/windows -DWIN32 -D_WIN32 -D__WIN32
> -D__WIN32__ -D__WINNT -D__WINNT__
> -D__stdcall=__attribute__((__stdcall__))
> -D__cdecl=__attribute__((__cdecl__))
> -D__fastcall=__attribute__((__fastcall__))
> -D_stdcall=__attribute__((__stdcall__))
> -D_cdecl=__attribute__((__cdecl__))
> -D_fastcall=__attribute__((__fastcall__)) -D__declspec(x)=__declspec_##x
> -D_declspec(x)=__declspec_##x
> -D__declspec_align(x)=__attribute__((aligned(x)))
> -D__declspec_allocate(x)=__attribute__((section(x)))
> -D__declspec_deprecated=__attribute__((deprecated))
> -D__declspec_dllimport=__attribute__((dllimport))
> -D__declspec_dllexport=__attribute__((dllexport))
> -D__declspec_naked=__attribute__((naked))
> -D__declspec_noinline=__attribute__((noinline))
> -D__declspec_noreturn=__attribute__((noreturn))
> -D__declspec_nothrow=__attribute__((nothrow))
> -D__declspec_novtable=__attribute__(())
> -D__declspec_selectany=__attribute__((weak))
> -D__declspec_thread=__thread -D__WINE__ -D__int8=char -D__int16=short
> -D__int32=int -D__int64=long long -c -o mfcdb.exe-EX63Tl.spec-iqe4kD.o
> -xc++ -v mfcdb.exe-EX63Tl.spec.c
^^^^^
Are you by any chance using an old version of winegcc? Can you please
upgrade to the latest winegcc from head?
--
Dimi.
More information about the wine-devel
mailing list