Build manually for MSVC2008

Andreas Pakulat apaku at gmx.de
Sat May 30 23:28:54 CEST 2009


On 29.05.09 12:51:23, Patrick Spendrin wrote:
> Andreas Pakulat schrieb:
> > On 29.05.09 10:40:18, Patrick Spendrin wrote:
> >> Andreas Pakulat schrieb:
> >>> Hi,
> >>>
> >>> I've now setup a VMware to do some windows-development for KDevelop4 and
> >>> as I understood from previous emails its a bit of work, but probably
> >>> better to build with MSVC2008.
> >>>
> >>> Now the question arises: How to I prevent emerge from fetching binary
> >>> packages? If I cannot do that, is there some docs how I create binary
> >>> packages myself and lets emerge use them (apart from the source code)?
> >>> And last but not least: Does anybody have a list of packages where
> >>> emerge downloads the binary instead of compiling it?
> >> Well, the point is that in most cases you don't even need to recompile
> >> the binary packages - older libraries will be understood by the newer
> >> compiler. The biggest problem is that the boost binary package doesn't
> >> contain libraries for 2k8 compiler and thus needs to be recompiled.
> >  
> > As far as I understand our windows experts here at work, mixing different
> > runtime libraries inside the same application can be problematic - causing
> > strange crashes etc. 
> > 
> > I'd like to avoid hunting down crashes that are possibly caused by such
> > mixing.
> > 
> As long as you keep away from installing the old runtime (the redist
> package from the installer), you should be save. The runtime libraries
> are used from your compiler then.
> If that would be not correct, you would have to recompile at least the
> dbus and pcre packages (all C++ packages, there are more like libchm,
> libmsn but those are not needed for kdevelop iirc).

As far as I can see emerge doesn't support using the -src self-compiled
version for a dependency. Is that correct? I just did emerge qt and it
auto-installed dbus-msvc, even though I've run emerge dbus-src just before
that. Should I just create a package from my -src packages and then install
them somehow via emerge?

Andreas

-- 
Be free and open and breezy!  Enjoy!  Things won't get any better so
get used to it.


More information about the Kde-windows mailing list