compiling windows C++ code base using winelib
compiling windows C++ code base using winelib
Hi,
My application holds few windows exe's developed using .lib libraries. This application which got developed using VC++ is working fine when executed using wine.I want to compile the same source using winelibraries in linux. How can I include c++ header files? I can see only windows and msvcrt header files under wine?
Any help would be appreciated on this C++ header stuff for wine.
Thanks,
Yug
My application holds few windows exe's developed using .lib libraries. This application which got developed using VC++ is working fine when executed using wine.I want to compile the same source using winelibraries in linux. How can I include c++ header files? I can see only windows and msvcrt header files under wine?
Any help would be appreciated on this C++ header stuff for wine.
Thanks,
Yug
Re: compiling windows C++ code base using winelib
If you talking about MFC - then you out of luck. Wine doesn't have those.yugandhar wrote:How can I include c++ header files?
compiling windows C++ code base using winelib
Someone should suggest to MS that if they're serious about open source
that they should open-source the MFC libraries. After all, a lot of us
did waste a huge amount of time becoming proficient with it to see it
replaced by ATL then .Net.
-J
vitamin wrote:
that they should open-source the MFC libraries. After all, a lot of us
did waste a huge amount of time becoming proficient with it to see it
replaced by ATL then .Net.
-J
vitamin wrote:
yugandhar wrote:
If you talking about MFC - then you out of luck. Wine doesn't have those.How can I include c++ header files?
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
Why do you want to recompile your app using winelib? The gain of recompiling using winelib is very small. In general you only want to do that when you want to run your app on a non-x86 architecture. For performance it doesn't really matter if it is a win32 executable or not. Most apps that use wine e.g. Google's Picasa and others are just win32 binaries.
You can also just use winelib to port small pieces of your app if you want to make some native linux calls. To do this just put some functionality in a dll and port that dll using wlnelib (in winelib you can mix both win32 and linux code). Because Wine sees no difference between a win32 mylib.dll or a winelib mylib.dll.so that way works fine. This way is recommended as it is a HUGE task to port a full app using wineg++t.
You can also just use winelib to port small pieces of your app if you want to make some native linux calls. To do this just put some functionality in a dll and port that dll using wlnelib (in winelib you can mix both win32 and linux code). Because Wine sees no difference between a win32 mylib.dll or a winelib mylib.dll.so that way works fine. This way is recommended as it is a HUGE task to port a full app using wineg++t.
Thanks for your quick replies.
Basically my application runs on depending 8 executables.If I run all these executables using wine which inturn depends on Wineserver which may be a bottleneck.I mean to say if the winesever gets crashed then my application will come down.Instead of this I planned to build all the executables using winelib.It doesnt use any MFC classes whereas includes wine32 APIs with C++ code base.
Thanks,
Yug
Basically my application runs on depending 8 executables.If I run all these executables using wine which inturn depends on Wineserver which may be a bottleneck.I mean to say if the winesever gets crashed then my application will come down.Instead of this I planned to build all the executables using winelib.It doesnt use any MFC classes whereas includes wine32 APIs with C++ code base.
Thanks,
Yug
compiling windows C++ code base using winelib
On Sat, Jan 24, 2009 at 7:48 PM, yugandhar <[email protected]> wrote:
--
-Austin
If you compile with winelib, it will still use wineserver.Thanks for your quick replies.
Basically my application runs on depending 8 executables.If I run all these executables using wine which inturn depends on Wineserver which may be a bottleneck.I mean to say if the winesever gets crashed then my application will come down.Instead of this I planned to build all the executables using winelib.It doesnt use any MFC classes whereas includes wine32 APIs with C++ code base.
Thanks,
Yug
--
-Austin
compiling windows C++ code base using winelib
On Mon, Jan 26, 2009 at 9:08 AM, yugandhar <[email protected]> wrote:
wine != windows source code.
--
-Austin
Not that I'm aware of, but I could be wrong. Also, it's pedantic, butAustin,
Is there any option using winelib I can build linux executables using windows source code independent of wineserver.
-Yug
wine != windows source code.
--
-Austin