1 |
On 1/17/2012 1:55 AM, Chris Walters wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I have a question about cross compiling in Gentoo - specifically cross |
5 |
> compiling for W32/W64. I tried their preferred method and didn't like it, so I |
6 |
> downloaded the appropriate Mingw64 build files, set up a cross compile account, |
7 |
> with the appropriate paths, variables, etc. Most packages compile correctly |
8 |
> (though it sometimes takes some code hacking - and yes they do run in Win 7), |
9 |
> but there are some I can't seem to get to build properly - usually the ones |
10 |
> that have make files for MS Visual Studio. I have no interest in purchasing |
11 |
> Visual Studio. |
12 |
|
13 |
Just a point of interest: "Visual Studio" doesn't use |
14 |
Makefiles; Visual C++ can import Makefile projects if you |
15 |
ask it to, but it has its own project file format. If you're |
16 |
seeing actual make files (and not, say, a .sln file or |
17 |
.cproj file) then you don't need Studio, just an |
18 |
nmake-compatible version of make. |
19 |
|
20 |
If you do have project and solution files from Visual |
21 |
Studio, they are just MSBuild projects (think "ant for |
22 |
Windows"). I'm pretty sure there are open-source variants of |
23 |
MSBuild, possibly in the Mono project? |
24 |
|
25 |
And of course, Visual C++ Express is free, though you'd need |
26 |
to find somewhere to set it up. |
27 |
|
28 |
> My question is, does anyone know of any good resources (mailing lists, sites, |
29 |
> etc.) on cross compiling on a GNU/Linux platform for a W32/W64 platform? The |
30 |
> searches I've run have directed me to sites that talk about using MSYS and |
31 |
> Mingw on a W32 platform (I don't have all year to build a single package). I |
32 |
> am looking to build GraphicsMagick, and some helpful tools for W64 (though I'd |
33 |
> accept W32, if that's the only way). |
34 |
> |
35 |
> Chris |
36 |
> |
37 |
> |
38 |
> |