Hey Everyone,
I'm trying to compile the latest develop branch right now (using MinGW) and I'm running into an issue that shows up when trying to link spring.exe. The error reads g++.exe: error: unrecognized option '--large-address-aware'. I've tried using both the stable and newer releases of MinGW to no avail. Is there something I should be configuring in cmake? Sorry if this is a noob question.
--large-address-aware unrecognized option
Moderator: Moderators
Re: --large-address-aware unrecognized option
This is MinGW-w64? I don't think that is a supported environment for Spring.
Adding that support would in theory be a good thing but the effort would likely be in vain as the official builds will remain for win32 in the interest of compatibility. I believe sync is broken between the two architectures on Windows.
Adding that support would in theory be a good thing but the effort would likely be in vain as the official builds will remain for win32 in the interest of compatibility. I believe sync is broken between the two architectures on Windows.
Re: --large-address-aware unrecognized option
I have been trying compiling with the 32 bit version. Both stable and the newer revisions, both have same error. Cmake is adding the flag here:
https://github.com/spring/spring/blob/d ... s.txt#L344
It looks like it's added in the case that it's a 32 bit build, --large-address-aware is a valid option for the linker (ld) as far as I can tell. The error message is reporting that it is being passed to g++, which indeed doesn't support that option. I think it is supposed to be passed to ld, the linker.
https://github.com/spring/spring/blob/d ... s.txt#L344
It looks like it's added in the case that it's a 32 bit build, --large-address-aware is a valid option for the linker (ld) as far as I can tell. The error message is reporting that it is being passed to g++, which indeed doesn't support that option. I think it is supposed to be passed to ld, the linker.
Re: --large-address-aware unrecognized option
Ah...I guess nobody else has bothered building the development branch in mingw since jk broke it in june glad you found the issue
I look forward to seeing the next iteration of your touch interface work!
I look forward to seeing the next iteration of your touch interface work!
Re: --large-address-aware unrecognized option
https://github.com/spring/spring/commit ... 9cd4bf2bcb
And Peet, everything must go through our buildbot. So I tested my commit. It's just another annoying difference between systems.
And Peet, everything must go through our buildbot. So I tested my commit. It's just another annoying difference between systems.
Re: --large-address-aware unrecognized option
Thanks jK for the fix!