Web lists-archives.org

Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch




Eduardo Mendes wrote:
> Hello
>  
> Thanks to the help of JonY, gmp and mfpr (./configure --prefix=/mingw) 
> were compiled and installed under mingw.  The next step is to compile 
> gcc-4.2.1 from scratch.  I have donwloaded the source tar.bz2 and the 
> build script and then I set the dirs just like in the script.  After 
> that I issued sh gcc*****build****.sh to see what happens and here is 
> the outcome:
>  
> First error
>  
>  C:/msys/1.0/develop/sandpit/sjlj/c:/MinGw/lib/gcc/mingw32/4.2.1-sjlj/install-tools/include/README
>       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 
> error 487
> AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x2B0000, State 
> 0x10000
> C:\msys\1.0\bin\install.exe: *** Couldn't reserve space for cygwin's 
> heap, Win32 error 0
> make[2]: *** [install] Error 1
> make[2]: Leaving directory `C:/msys/1.0/home/eduardo/packages/fixincludes'
> make[1]: *** [install-fixincludes] Error 2
> make[1]: Leaving directory `C:/msys/1.0/home/eduardo/packages'
> make: *** [install] Error 2
>  
> Second error
>  
> gcc -c   -D__USE_MINGW_ACCESS -DIN_GCC   -W -Wall -Wwrite-strings 
> -Wstrict-prootypes -Wmissing-prototypes -Wold-style-definition 
> -Wmissing-format-attribute   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. 
> -Ibuild -I../../gcc-4.2.1-2-src/gcc -I./../gcc-4.2.1-2-src/gcc/build 
> -I../../gcc-4.2.1-2-src/gcc/../include 
> -I../../gc-4.2.1-2-src/gcc/../libcpp/include  
> -I../../gcc-4.2.1-2-src/gcc/../libdecnumbr -I../libdecnumber    -o 
> build/min-insn-modes.o min-insn-modes.c
> cc1.exe: out of memory allocating 3891018455 bytes
> make: *** [build/min-insn-modes.o] Error 1
> make: Leaving directory `C:/msys/1.0/home/eduardo/packages/gcc'
> make: *** mingw32/libstdc++-v3: No such file or directory.  Stop.
>  
> msys run as administrator under Vista.
>  
> Any help would be most appreciated.
>  
> Thanks all
>  
> Ed
>  

This may be due to Vista, try using the following update:
http://downloads.sourceforge.net/mingw/MSYS-1.0.11-20071204.tar.bz2

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users