Compiling Test with mingw or winebuild

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Compiling Test with mingw or winebuild

Post by André H. »

Hi,
I dont know much about compiler, so can you please help me and tell me some ways to get the code compiled from bug 1841.
I am interessted in the mingw-way and the wine-way of compiling it.
Thanks!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Compiling Test with mingw or winebuild

Post by vitamin »

André H. wrote:Hi,
I dont know much about compiler, so can you please help me and tell me some ways to get the code compiled from bug 1841.
I am interessted in the mingw-way and the wine-way of compiling it.
Thanks!
Just install mingw following their install how-to. Then re-run wine/configure so it picks up mingw.
To crosscompile Wine test run:

Code: Select all

make -C dlls/gdi32/tests crosstest
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

mingw is installed.
i special ment the zip file of bug 1841
wanted to test it, but didnt get it working with mingw or winegcc. just with lcc i compiled it under wine.
so i just wanted some steps to compile the res-file and the c-file together to an .exe-file
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

Thanks for the great replys.
Got it running by myself:
type

Code: Select all

winemaker ./
in the sourcedirectory and it will create a Makefile then type

Code: Select all

make
and it compiles
to run it just type

Code: Select all

showbug.exe.so
Locked