On 27/02/13 12:09, RaRi 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?
Looks like you're generating files that are too big for your filesystem. You're probably using FAT32 or such which is limited to files of 2GB. You could also look into what could be done to reduce the size of those binaries. Maybe you're building with debug information enabled?
Maybe I could you a cross-compiler on linux to produce a binary for windows....!?
You can indeed build for Windows from Linux. On a Debian/Ubuntu system, just install the g++-mingw-w64-i686 package.