Crosscompiling with tdragon's gcc
Moderator: Moderators
Re: Crosscompiling with tdragon's gcc
i setup cross-compilation on gentoo awhile back but it was a relatively complex setup. This looks a thousand times easier. Thanks for the heads up.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Crosscompiling with tdragon's gcc
I also cross-compile with gentoo. All I had to do wasSpliFF wrote:i setup cross-compilation on gentoo awhile back but it was a relatively complex setup. This looks a thousand times easier. Thanks for the heads up.
Code: Select all
sudo crossdev i686-mingw32
Re: Crosscompiling with tdragon's gcc
That's all I had to do... in theory.
What happened in practice was the crossdev script failed and I had to screw around for hours trying different combinations of flags to get working and compatible binutils etc. When I was done with it all, Spring didn't build anyway (wrong gcc version).
I'm giving it another try now and already things look better. sudo crossdev -t i686-mingw32 has run without errors this time.
Now for Spring itself...
What happened in practice was the crossdev script failed and I had to screw around for hours trying different combinations of flags to get working and compatible binutils etc. When I was done with it all, Spring didn't build anyway (wrong gcc version).
I'm giving it another try now and already things look better. sudo crossdev -t i686-mingw32 has run without errors this time.
Now for Spring itself...
Re: Crosscompiling with tdragon's gcc
@imbaczek: Here are two shots of the terrible trees:

What that shot doesn't show you... is that when you get close enough, the foliage disappears, leaving you with stick-trees 
Also, the version you compiled doesn't read my screen position (i.e., I have it set to fullscreen, it's windowed). Other than that, IDK what else is wrong, I've been too busy working on something else to test in detail.



Also, the version you compiled doesn't read my screen position (i.e., I have it set to fullscreen, it's windowed). Other than that, IDK what else is wrong, I've been too busy working on something else to test in detail.
Re: Crosscompiling with tdragon's gcc
windowed is because it's hardcoded somewhere in the debug build. everything else is... not my problem domain, except that it doesn't happen here. maybe somebody else will have an idea.
Re: Crosscompiling with tdragon's gcc
It's just weird, I haven't seen problems with the trees in quite awhile. Oh well, I quit using them in WorldBuilder ever since the Lua to CreateFeature() them into existence quit working and nobody bothered explaining why it was broken or offered a fix for ruining large swaths of work, so there won't be any Spring procedural trees in P.U.R.E. anyhow.
Re: Crosscompiling with tdragon's gcc
Trees are borked like that in the release versions depending on your system configuration and how your graphics card is set up. The implementation of trees in thsi engine is highly unreliable and inconsistent and has been ever since the engine was released. Infact ti has only gotten worse.
And I'm not talking about alt+tabbing while loading causing artefacts.
And I'm not talking about alt+tabbing while loading causing artefacts.