Thanks a million Corinna ! It did solve my problem.
How essential is it for me to *build* the tool chain with the latest Cygwin 1.3.6-6 ? Regards, Arati Dikey > On Fri, Dec 21, 2001 at 02:46:08PM +0530, Arati Dikey wrote: > > > Hi ! > > The sh-elf-gcc built from GCC 3.0.1 gives error "Virtual memory > exhausted : Invalid argument" while compiling any small C program on > Win 98 system. > > The toolchain has been built in cygwin 1.3.2 environment. > > This was tested on two systems with following configurations. > > System1 - Win98 running on Pentium MMX system with 128 MB RAM and 500 MB > free disk space. > System2 - Win98 running on Pentium IV system with 128 MB RAM and 19.5 GB > free disk space. > > The toolchain works fine on WinNT and Win2000. > > Is this problem related to Cygwin or GCC-3.0.1 ? > > Using Cygwin's gdb I found that the error is coming when init_ggc() > function calls > alloc_anon() function and #ifdef HAVE_MMAP_ANON condition is satisfied. > > Any help will be appreciated. > Please try the latest Cygwin 1.3.6-6 first. I remember various > fixes to the mmap() code. > Corinna ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download and free European support of GNU tool chain (GNUSH v0101) for Hitachi's SH Series Read more at http://www.kpit.com/products/support.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/