1 May 12:23 2010
Re: Searching for an environment for x86 and x86_64 compiling
Artifex Maximus <artifexor@...>
2010-05-01 10:23:09 GMT
2010-05-01 10:23:09 GMT
On Fri, Apr 30, 2010 at 3:24 PM, NightStrike <nightstrike-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
What you are looking for is known as "multilib", ie a toolchain thatOn Mon, Apr 26, 2010 at 5:31 AM, Artifex Maximus <artifexor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I am searching an already built mingw environment for x86 and x86_64
> compiling. Similar to mingw+msys but for x86 and x86_64 within same
> environment. Is there any kind of that?
> I have downloaded cherokee web server building environment but that one is
> for x86 only and pretty old. I am upgraded and polished that environment for
> x86 (TDM binaries, upgrade some packages) and later converted for x86_64
> (same base but x86_64 compilers) but I would like to integrate into one
> environment which default compile to x86 and with some parameters I am able
> to compile for x86_64 in the same environment. I have no real experience in
> this field so I am looking for an already done package. Or if there is any
> nice tutorial on this topic it would be great to know. Thanks!
> I have tried compiling gcc myself but I always had errors about gmp even if
> I use the same parameters for configuration as in the mingw binaries (gcc
targets multiple platforms at the same time. You choose your specific
target using a compiler switch. For instance, you might want to do
gcc -m32 for a 32-bit platform, and gcc -m64 for 64.
Multilib doesn't work too well for windows targets, unfortunately.
Give it time. In the meantime, you can just use relocatable
toolchains, put them in separate paths, put them both in your PATH,
and use the full triplet to run them.
Thank you very much I will look after that. As I recall there was a multilib option when I have tried compile gcc. But it seems that as I use now, in separate paths, is the recommended way at the moment.
_______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users