using gcc with winegcc

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jonnyc
Newbie
Newbie
Posts: 1
Joined: Fri Feb 15, 2013 6:20 am

using gcc with winegcc

Post by jonnyc »

Hi

I have a windows dll, test.dll. I use the wine tools (winegcc etc) to create test.dll.so

Now, can i compile a *nix executable using gcc (not winegcc) to link against the winegcc generated .so, or to dlopen the winegcc generated .so ?

thanks
JC
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Re: using gcc with winegcc

Post by André H. »

jonnyc wrote:Hi

I have a windows dll, test.dll. I use the wine tools (winegcc etc) to create test.dll.so

Now, can i compile a *nix executable using gcc (not winegcc) to link against the winegcc generated .so, or to dlopen the winegcc generated .so ?

thanks
JC
You can try, but i would think about that configuration as unstable.
You better compile a unix executable with winegcc, as every winelib applciation/dll should still run through wine.
Locked