On Wed, Jul 28, 2010 at 1:39 PM, Ruben Van Boxem <[email protected]> wrote: > > MSYS itself is 32-bit, so having uname return something else is not quite > correct. There are other things bad about this suggestion: > > 1. What if you have installed x86_64-w64-mingw32-gcc, i686-w64-mingw32-gcc, > and i686-pc-mingw32-gcc, and added all three paths to MSYS's path? uname > isn't at all a correct way to determine the compiler's target, especially > when you think about cross-compilation, and (future/current) multilib. > > 2. The wiki states the workaround/"The Right Way" to use mingw-w64 under > MSYS. > > I believe passing -host=... to configure is a small price to pay (if any) > for the functionality you get from using MSYS+mingw-w64. The MSYS package > provided by mingw-w64 (aka me in this context) is only the complete binary > set of packages conveniently packed into one. I don't feel I have the > right/will to change internal settings (of which I do not know how far these > reach) or to keep any changes up to date. >
While I understand the small price to pay, I'm working on a tool that build recipes for the different compilers, and uses sh -c "./config.guess" to determine the platform for it's own use. It allow the user to use a configuration setting to override it, but ideally the compilers should be transparent to the tool. If this can't be worked out, we will need to fall back to lookup for *gcc* in the path and extrapolate the platform from it or the compilation of a simple .C file Thank you guys for your answers. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
