Windows Support/Development (splitted from LockFreeLua) - Page 2

Windows Support/Development (splitted from LockFreeLua)

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

Moderator: Moderators

Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Super Mario »

Two things that is top of my head,
The window compiling page needs updating with information, you can compile it with mingw64 toolset, by just passing the -m32 and other flags to the winres.

The profiling page, literately no information concerning windows.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Silentwings »

I don't think anyone has ever done any "direct" profiling (i.e. gprof/oprof/etc) on windows. That's likely why there isn't any documentation for it!
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Windows Support/Development (splitted from LockFreeLua)

Post by FLOZi »

Super Mario wrote:Two things that is top of my head,
The window compiling page needs updating with information, you can compile it with mingw64 toolset, by just passing the -m32 and other flags to the winres.

The profiling page, literately no information concerning windows.
Windows build page was correct when I last updated it, which is well inside a year. What precisely do you suggest we check in the 'yearly review' every single page?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Silentwings »

The instructions are correct.

SuperMarios complaint is that you could also build with the 64 bit mingw compiler (instead of the 32 bit one recommended by the wiki) if you want too, you just have to pass some extra flags. The wiki doesn't mention this.

Personally I think its better to keep the wiki as it is, the page is complicated enough already and anyone who cares about the difference between 32/64 bit compilers and is desperate to build a 32 bit application with a 64 bit compiler should be able to figure the flags out for themselves.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Super Mario »

Silentwings wrote:
SuperMarios complaint is that you could also build with the 64 bit mingw compiler (instead of the 32 bit one recommended by the wiki) if you want too, you just have to pass some extra flags. The wiki doesn't mention this.

Personally I think its better to keep the wiki as it is, the page is complicated enough already and anyone who cares about the difference between 32/64 bit compilers and is desperate to build a 32 bit application with a 64 bit compiler should be able to figure the flags out for themselves.
How the page is complicated I may ask? It's not hard to write down the flags for the 64 bit compiler on the wiki.
I had request a pull with my changes to cmake to automatically set the flags for the 64 bit version for simplification sake, but abma insist that we wait for 64 bit version of the libraries, which begs the question when? Does abma intends to wait for the MXE to support the 64 libraries, or one day he will compile them himself (I mean he did give himself that task here)?

BTW "have to figure it out for themselves" you might as well not have a wiki with that kind of altitude.
Last edited by Super Mario on 02 Feb 2015, 23:16, edited 1 time in total.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Windows Support/Development (splitted from LockFreeLua)

Post by abma »

Super Mario wrote:How the page is complicated I may ask?
it is not complicated because we spent a lot of time to make it simple as it is. when you don't follow the given instructions and hit some error you're basicly on your own, i don't see why we should write down all possibilities there as its

1. not possible to catch all errors on a wiki page
2. these exceptions have to kept up to date
3. it would make the page complicated.

imo its better to have only one possiblity / walk-through documented but its correct than multiple possibilities with a lot of errors.

if you want 64 bit and wanna help, create a new + dedicated page for that. also the current cmake error is quiet clear: " Spring's MinGWLibs don't include 64bit libraries (yet). Please, compile as 32bit."

i don't see your problem, sorry. imo its self-made.
64 bit compile on windows is NOT supported (yet).
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Super Mario »

abma wrote:
Super Mario wrote:How the page is complicated I may ask?
it is not complicated because we spent a lot of time to make it simple as it is. when you don't follow the given instructions and hit some error you're basicly on your own, i don't see why we should write down all possibilities there as its

1. not possible to catch all errors on a wiki page
2. these exceptions have to kept up to date
3. it would make the page complicated.

imo its better to have only one possiblity / walk-through documented but its correct than multiple possibilities with a lot of errors.

if you want 64 bit and wanna help, create a new + dedicated page for that. also the current cmake error is quiet clear: " Spring's MinGWLibs don't include 64bit libraries (yet). Please, compile as 32bit."

i don't see your problem, sorry. imo its self-made.
I don't see how adding information concerning flags meets the definition "Complicated".
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Windows Support/Development (splitted from LockFreeLua)

Post by abma »

Super Mario wrote:I don't see how adding information concerning flags meets the definition "Complicated".
you have to add information about the compiler used as well as this only applies to this specific compiler... and so on. ITS A LOT OF WORK: it has to be updated when ming64 is available, maybe something changes in toolchain and info becomes invalid, etcetc.

also, whats the benefit?
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Super Mario »

abma wrote:
Super Mario wrote:I don't see how adding information concerning flags meets the definition "Complicated".
you have to add information about the compiler used as well as this only applies to this specific compiler... and so on. ITS A LOT OF WORK: it has to be updated when ming64 is available, maybe something changes in toolchain and info becomes invalid, etcetc.

also, whats the benefit?
Such as?
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Super Mario »

I'm asking for basic examples, not a vague link.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Windows Support/Development (splitted from LockFreeLua)

Post by abma »

screenshots, how to install it, exact version used. also it has to be tested if it compiles, syncs, crashes, etcetc. this page is not about "how to maybe compile spring on windows", its about "how to compile spring on windows".

whats the benefit?
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Super Mario »

abma wrote:screenshots, how to install it, exact version used. also it has to be tested if it compiles, syncs, crashes, etcetc. this page is not about "how to maybe compile spring on windows", its about "how to compile spring on windows".

whats the benefit?
You know what? Screw this, I never expect my post to create this thread, let alone this discussion in first place. It's suppose to be a side note, and nothing more, not for you to split it and create it's own thread. If you going to shot down any advise that I give you, concerning the development of spring on windows while you and others are insisting that the current status quo is perfectible acceptable, then there is no point of me being here is it?

At this point of time I really couldn't care less if anyone think that I'm some random dumbass on the internet who doesn't know what he's talking about. Do me a favor and lock this thread. I do not want to participate on any discussions on figuring out how to get windows developers.
Last edited by Super Mario on 03 Feb 2015, 00:23, edited 1 time in total.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Windows Support/Development (splitted from LockFreeLua)

Post by abma »

quote myself:
abma wrote:if you want 64 bit and wanna help, create a new + dedicated page for that
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Windows Support/Development (splitted from LockFreeLua)

Post by abma »

If you going to shot down any advise that I give you, concerning the development of spring on windows while you and others are insisting that the current status quo is perfectible acceptable, then there is no point of me being here is it?
i'm not sure who ignores advices here...
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Windows Support/Development (splitted from LockFreeLua)

Post by gajop »

@Super Mario:
I'm giving you an advice that can be applied to your situation. Whenever you find yourself in the case with little to no support of your stance, you should consider either dropping the issue or doing it yourself.
Fight for issues you can win :)
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Windows Support/Development (splitted from LockFreeLua)

Post by Silentwings »

I don't see how adding information concerning flags meets the definition "Complicated".
Wiki pages have to be kept to a manageable length. Consequently, a balance between useful and complicated has to be struck. In this case, it's been judged (by all involved except yourself, I'm afraid) that the balance is not met by your suggested addition and that the current wiki page is good as it is.

I repeat: A 32 bit mingw compile is fine for nearly everyone. Someone who is desperate to build a 32 bit application with a 64 bit compiler should be able to figure the flags out for themselves. It is not remotely difficult and this is not a barrier to becoming a Spring developer on Windows. As it happens, I also compile with mingw64, since a year ago, for reasons unrelated to Spring.

As regards your 64 bit on Windows stuff in general, afaics you have not attempted to answer peoples questions of "what is the benefit", despite being asked more than once.
insisting that the current status quo is perfectible acceptable,
I believe that everyone agreed that the status quo could be improved by having core developers using Windows, and that code should be documented if it was not already. This was also agreed upon long ago, but no one has a magic wand.

Your advice has not been "shot down", it was responded too calmly, repeatedly and with explanation. To me it just looks as though you haven't justified any real benefit to your various flavours of 64 bit mingw/Spring/Windows and, beyond that, you haven't said anything that wasn't discussed before.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Windows Support/Development (splitted from LockFreeLua)

Post by FLOZi »

Locking as per OP request.
Locked

Return to “Engine”