I compiled Spring successfully, but the file is about 2.5 times bigger than the release exe, the framerate is extremely low, my CPU usage is extremely high, and the exe depends on MinGW stuff to run.
I'm using the latest MinGW release + the spring MinGW stuff + cmake. Am I not checking the right compiler flags or what? What is the exact method used to build the release exes?
Spring Compile is Slow, Big, and Depends on MinGW
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Spring Compile is Slow, Big, and Depends on MinGW
Make sure you set build type to "RELEASE", cause ti defaults to a debug build.
Re: Spring Compile is Slow, Big, and Depends on MinGW
K, will try.Auswaschbar wrote:Make sure you set build type to "RELEASE", cause ti defaults to a debug build.
Re: Spring Compile is Slow, Big, and Depends on MinGW
Which flags should I set for best optimization? What are the memory manager stuff and the GML stuff? I've tried GML_SIM before, but it's thrown a sh*ton of errors at me ingame.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Spring Compile is Slow, Big, and Depends on MinGW
You should leave the other options on the default at first. Most of them are disabled for a reason.REVENGE wrote:Which flags should I set for best optimization? What are the memory manager stuff and the GML stuff? I've tried GML_SIM before, but it's thrown a sh*ton of errors at me ingame.
Re: Spring Compile is Slow, Big, and Depends on MinGW
Ok. I'm going to compile with GML since that seems to work fine. Also set the march_flag to core2, if that makes any difference.Auswaschbar wrote:You should leave the other options on the default at first. Most of them are disabled for a reason.REVENGE wrote:Which flags should I set for best optimization? What are the memory manager stuff and the GML stuff? I've tried GML_SIM before, but it's thrown a sh*ton of errors at me ingame.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Spring Compile is Slow, Big, and Depends on MinGW
Yes, there is a good chance it will desync you.REVENGE wrote:Ok. I'm going to compile with GML since that seems to work fine. Also set the march_flag to core2, if that makes any difference.Auswaschbar wrote:You should leave the other options on the default at first. Most of them are disabled for a reason.REVENGE wrote:Which flags should I set for best optimization? What are the memory manager stuff and the GML stuff? I've tried GML_SIM before, but it's thrown a sh*ton of errors at me ingame.