Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- Date: Tue, 5 Feb 2008 16:06:02 +0000
- From: Eduardo Mendes <emammendes@xxxxxxxxxxx>
- Subject: Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
|
> Date: Tue, 5 Feb 2008 10:32:34 -0500 > From: earnie@xxxxxxxxxxxxxxxxxxxxx > To: mingw-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch > > > Quoting Eduardo Mendes <emammendes@xxxxxxxxxxx>: > > > > > 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: > > > > I'm not sure exactly what you're saying. To build GCC from scratch you need > > gcc-src/ > gcc-bld/ > cd gcc-bld > ../gcc-src/configure --prefix=`cd /mingw; pwd -W` > make > make install > > If you want a different location than specified in the original > --prefix specified in configure; do not use DEST or DESTDIR (whatever > it is named). Instead use > > make install prefix=/release/directory I meant building from gcc-4.2.1.sjlj.src.tar.gz available at sourceforge-mingw. > > > First error > > > > C:/msys/1.0/develop/sandpit/sjlj/c:/MinGw/lib/gcc/mingw32/4.2.1-sjlj/install-tools/include/README > > Based on the visible path it appears that DESTDIR is used. > > 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error > 487AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x2B0000, > State 0x10000C:\msys\1.0\bin\install.exe: *** Couldn't reserve space > for cygwin's heap, Win32 error 0make[2]: *** [install] Error 1make[2]: > Leaving directory > `C:/msys/1.0/home/eduardo/packages/fixincludes'make[1]: *** > [install-fixincludes] Error 2make[1]: Leaving directory > `C:/msys/1.0/home/eduardo/packages'make: *** [install] Error > > 2 > > I'm guessing MSYS croaks on the bad path. I have just used the script provided mingw devs. > > > > > 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 bytesmake: *** > > [build/min-insn-modes.o] Error 1make: Leaving directory > > `C:/msys/1.0/home/eduardo/packages/gcc'make: *** > > mingw32/libstdc++-v3: No such file or directory. Stop. > > > > 4G of user memory is the fixed limit for windows. Something caused cc1 > to try allocating 3.8G of consecutive memory. > > > msys run as administrator under Vista. > > > > I have yet to use Vista. It'll probably be at least two years before > the corporate world I live in tries. > I am too lasy to install XP back on my VAIO notebook. Vista has been a pain in the neck. Many thanks Ed Express yourself instantly with MSN Messenger! MSN Messenger |
------------------------------------------------------------------------- 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
- Follow-Ups:
- Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- From: Earnie Boyd
- Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- References:
- [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- From: Eduardo Mendes
- Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- From: Earnie Boyd
- [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- Prev by Date: Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- Next by Date: Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- Previous by thread: Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- Next by thread: Re: [Mingw-users] Help needed to compile gcc-4.2.1 from scratch
- Index(es):