Thursday, February 20, 2014

Re: Building on Windows for both 32 and 64-bit installs

On 20/02/14 16:20, Ben Fritz wrote:
> I'm trying to set up a build on Windows for 64-bit on my own PC, but some lab PCs I'll be putting it on are still 32-bit.
>
> If this were a Unix-like system, I understand I could use "make shadow" to set up shadow dirs and do builds for multiple architectures that way.
>
> But this is Windows. There is no "shadow" target in either the MinGW makefile, or the Visual Studio makefile I've been using. I tried accessing the directory on a Unix server and doing the "make shadow" there, but this does not copy over the Windows makefiles, runtime, or GvimExt folders.
>
> What is the best way on Windows to build for multiple architectures?
>

What about building 32-bit Vim executables, like Mozilla does for
Firefox, Thunderbird and SeaMonkey? AFAIK, they run on both 32- and
64-bit Windows operating systems. Of course they cannot edit files
longer than 2 GiB (per file) but I don't expect that to be much of a
limitation.

If you were on Mac, you could try to set up a "universal binary" with
both a 32- and a 64-bit executable included, but AFAIK this is not
possible for Windows; and of course no 64-bit program can run on a
32-bit machine.

If you're dead set on building more than one executable on the same
machine with different config settings, you can of course set up more
than one clone of Bram's source and start from there (before you do,
check "hg help clone" and try to understand the hardlinking subtleties
better than I do: you may or may not want to clone with --pull the
second time); but IMHO that would be a little overdoing it.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
88. Every single time you press the 'Get mail' button...it does get new
mail.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: