Spring :: Version of GCC & Mingw ?

Spring :: Version of GCC & Mingw ?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

What version gcc & mingw do you use to build Spring Engine on Windows ?
We need to check our lobby for catching exceptions. To complete that we need to build Qt with a right gcc and mingw. Then build NotaLobby and try to repeat a bug.

Thanks
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Spring :: Version of GCC & Mingw ?

Post by jK »

it's in the infolog
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Re: Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

Could you please build a Spring for us just for checking ?
using mingw 4.4

Qt 4.8.0 is built using mingw 4.4 also :(
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Spring :: Version of GCC & Mingw ?

Post by jK »

Why me?
You already compile your lobby in mingw, so you already got a running environment.
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Re: Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

:(
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Re: Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

Where have you got your Mingw ?
I couldn't find any with gcc 4.4.4

http://sourceforge.net/projects/mingw-w ... %20Builds/
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring :: Version of GCC & Mingw ?

Post by abma »

the win32 build from spring is crosscompiled, the buildslave is set up with these instructions:

(Setting up buildslave, but thats on linux.)
https://github.com/spring/spring/tree/develop/buildbot



to build spring on win32 i use gcc-4.6.1, that should be the default mingw installed from the tdm web installer, see http://springrts.com/wiki/Building_Spri ... with_MinGW

some people seems to get linker errors related to boost, but i couldn't reproduce that.
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Re: Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

That is interesting, cause in debug.log you write gcc 4.4.4
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring :: Version of GCC & Mingw ?

Post by abma »

debug.log?
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Re: Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

oh, I am sorry. my mistake.
infolog.txt

Code: Select all

...
Spring 85.0
Build date/time: Dec 22 2011 00:05:57
Build environment: boost-104600, GNU libstdc++ version 20100429
Compiler: gcc-4.4.4
...
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring :: Version of GCC & Mingw ?

Post by abma »

yeah, sure. this is cross-compiled on the buildslave as all official spring win32 builds.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring :: Version of GCC & Mingw ?

Post by hoijui »

danil, you did understand abmas post wrong.
the official spring for windows, the one that makes up releases, and intermediate buildbot builds, is compiled on linux, with the instructions abma linked to, it is 4.4.4
this is linux compiling for windows

abma himself, when building spring locally on windows for windows, uses 4.6.1.
User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

Re: Spring :: Version of GCC & Mingw ?

Post by danil_kalina »

Thank you
Post Reply

Return to “Engine”