Jim Hauxwell wrote:
Hi All,
I'm building (or at least trying to) build a cross compiler for a mips
platform
make[2]: Entering directory `/c/cygwin/usr/src/mingw/gcc-mips/gcc'
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.2.0/gcc -I../../gcc-4.2.0/gcc/.
-I../../gcc-4.2.0/gcc/../include -I../../gcc-4.2.0/gcc/../libcpp/include
-I../../gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber insn-modes.c -o
insn-modes.o
cc1.exe: out of memory allocating 3433019875 bytes
It isn't the gcc you are building that is out of memory, it is the build
host compiler. I would look into that instead.
That said, I build mips cross compilers often and have never had this
type of problem when compiling insn-modes.c (or anything else for that
matter).
David Daney