|
Boost Users : |
Subject: Re: [Boost-users] Boost.MSM cc1plus.exe:: error: out of memory allocating 65532
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-02-27 07:59:42
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net