Message: Re: compilation problems of 4.9.5.p02 on XP/cmake/mingw: #ifdef _WIN32 instead of WIN32 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: compilation problems of 4.9.5.p02 on XP/cmake/mingw: #ifdef _WIN32 instead of WIN32 

Forum: Installation and Configuration
Re: Warning compilation problems of 4.9.5.p02 on XP/cmake/mingw: #ifdef _WIN32 instead of WIN32 (Mojca Miklavec)
Re: Warning Re: compilation problems of 4.9.5.p02 on XP/cmake/mingw: #ifdef _WIN32 instead of WIN32 (Gabriele Cosmo)
Date: 28 Jun, 2013
From: Mojca Miklavec <Mojca Miklavec>

On Fri, 28 Jun 2013 15:08:14 GMT, Gabriele Cosmo wrote:
> Hi Mojca,
> 
> for clarification: the MinGW compiler is -NOT- a supported compiler for Geant4
> and there're no future plans to support it either.
> Microsoft VC++ is the native compiler supported for Windows platforms.
> 
> If you wish to use the GNU tools on Windows, you may consider adopting the
> original GNU/gcc compiler within the CygWin environment. Although this is
> a configuration we no longer support either, you may have more chance (at
> your own risk) to get the software to install and benefit from POSIX compliant
> APIs.

(I just managed to delete a long reply by accident.)

Yes, I'm fully aware that MinGW is not officialy supported, but I'm willing to play with it and test. I might not be able to solve all the problems by myself and it would hardly make any sense to maintain a list of patches needed for compilation with MinGW on my own machine.

I applied six patches and got stuck at what CMake reported as 100% (just before the end, with OpenGL-related linking), so maybe one additional patch would already be sufficient for the code to compile (which doesn't guarantee that it would also work, of course).

The question is: would it be OK to apply tiny patches and make small steps towards some (even if unsupported) compatibility with MinGW? Or is this out-of-question? (This would have meant a lot of work before introduction of CMake-based compilation and Qt, but should be much easier now.)

I'm willing to test Cygwin in parallel with MinGW, but only if this could lead to more/better patches.

With other words: does "no support" mean that any question or request for a patch that could benefit MinGW would be ignored by default? Or just that you cannot guarantee that someone will be able/willing to reply? I hope it's the first one ...

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: compilation problems of 4.9.5.p02 on XP/cmake/mingw: #ifdef _WIN32 instead of WIN32   (Ben Morgan - 01 Jul, 2013)
 Add Message Add Message
to: "Re: compilation problems of 4.9.5.p02 on XP/cmake/mingw: #ifdef _WIN32 instead of WIN32"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]