________________________________
> From: bmburst...@gmail.com
> Date: Mon, 3 Nov 2014 17:45:59 +0200
> To: mingw-w64-public@lists.sourceforge.net
> Subject: Re: [Mingw-w64-public] [Project News | New Builds]
>
> On Mon, Nov 3, 2014 at 2:37 PM, Ruben Van Boxem
> <vanboxem.ru...@gmail.com<mailto:vanboxem.ru...@gmail.com>> wrote:
> 2014-11-03 10:30 GMT+01:00 Baruch Burstein
> <bmburst...@gmail.com<mailto:bmburst...@gmail.com>>:
> I am curious why only a few of the executables get prefixed versions? I
> just tried running a certain makefile with prefixed versions of the
> toolchain, and it failed looking for the prefixed versions of 'ar' and
> 'windres'. Easily solvable (make a copy and prefix it), but I am still
> curious why some get it by default while others don't?
>
> Because this is a native toolchain. Native toolchains don't have
> everything prefixed. Your makefile shouldn't be using any prefixes, and
> just call the bare "gcc" etc. instead.
>
> a. Then why are some prefixed?
It's the specification of gcc.

> b. Is there another way to determine in the makefile if compiling for
> x64 or x32 without using the compiler executable name?
Determine by checking size of void* in configure.
If you don't want to use configure, just add shell variables setting in your 
Makefile (for example, ARCH=x86_64 make ...)

>
>
> --
> ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
>
> ------------------------------------------------------------------------------
> _______________________________________________ Mingw-w64-public
> mailing list Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
                                          
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to