Name: Anonymous 2007-10-17 18:09
I'm trying to get some experience with using a command prompt to compile C++ programs. I got Cygwin installed with everything, so I try to compile a .cpp with g++. For purposes of this thread, i'll use a Hello World program.
I do
$ g++ main.cpp -o HelloWorld
And I get this shit:
3 [main] ? 1452 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (1452): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 1456 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (1456): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 3944 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3944): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 548 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (548): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x36000
0, State 0x10000
2 [main] ? 2704 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (2704): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 3964 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3964): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
What the fuck, /prog/? I tried doing this stuff on another computer (at work) and everything ran just fine. But if I try to do this on my home laptop here, it fucks up. What's going on, and how do I fix it?
I do
$ g++ main.cpp -o HelloWorld
And I get this shit:
3 [main] ? 1452 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (1452): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 1456 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (1456): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 3944 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3944): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 548 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (548): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x36000
0, State 0x10000
2 [main] ? 2704 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (2704): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
3 [main] ? 3964 init_cheap: Couldn't reserve 3600336 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3964): *** AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x3600
00, State 0x10000
What the fuck, /prog/? I tried doing this stuff on another computer (at work) and everything ran just fine. But if I try to do this on my home laptop here, it fucks up. What's going on, and how do I fix it?