On 2/27/2013 10:39 AM, Christophe Henry wrote:
Hi,
thanks for your fast response. I've added this flags and first of all it seemed to work properly. Unfortunately I get now the following Assembler messages:
Assembler messages: C:\Users\**\AppData\Local\Temp\ccxOY2Lj.s: Fatal error: can't write src\TransportLayer\Statemachine\main.o: File too big c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/as.exe: src\TransportLayer\Statemachine\main.o: too many sections (40428) C:\Users\***\AppData\Local\Temp\ccxOY2Lj.s: Fatal error: can't close src\TransportLayer\Statemachine\main.o: File too bi
Do you what is going on here?
BTW: I have tried to compile my boost.MSM code under linux: Under linux I receive no "...out of memory message" from the compiler and everything works fine. But this cannot be the solution, as I have to release my boost.MSM based code as a binary for windows and linux systems. Maybe I could you a cross-compiler on linux to produce a binary for windows....!?
Any further comments?
Thanks in advanced!
Rafael
Hi, I got this once. I think it's a Windows limitation. I was building in debug with -O0, I switched to -O2 and it compiled. Though then debugging becomes less easy... :(
IIRC, you also discovered turning off /Gm (Enable Minimal Rebuild) alleviates build issues. :-) Jeff