Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <7114B83CE30FD31183CD00805FBE772D8F4B63@berlin.netdelivery> From: Brad Porter To: "'Steve Kelem'" , cygwin AT sourceware DOT cygnus DOT com Subject: RE: Problem compiling perl module Term::ReadKey under cygwin Date: Thu, 15 Jun 2000 13:29:08 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Are you actually running it under a "command" prompt or a "cmd" prompt? Since "command.com" is a DOS emulator for NT, the InsufficientMemory Error sounds like a problem that might occur in DOS emulation... cmd (CMD.EXE) is a NT native app. Just some thoughts... -brad -----Original Message----- From: Steve Kelem [mailto:kelem AT adaptivesilicon DOT com] Sent: Thursday, June 15, 2000 10:52 AM To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Problem compiling perl module Term::ReadKey under cygwin So, what do I need to download to get gcc to work? (If I could download, which I can't because I get an Insufficient Memory message if I try to run it from a WinNT Command Prompt window. After 2 requests to this group, I STILL have no clue about what to do to fix this problem!) Steve Chris Faylor wrote: > On Thu, Jun 15, 2000 at 12:41:51AM -0400, Charles S. Wilson wrote: > >Steve - > > Worked for me -- but I had to create E:\tmp. A few clues about my > >setup: > > > >F:\cygwin == / > >E:\ = /e > >$HOME = /e/Users/cwilson > > > >I ran cpan as 'cwilson', building in /e/Users/cwilson/.cpan/*. So, the > >'CURRENT DRIVE' was E: even though perl is installed into /usr/local > >(F:\cygwin\usr\local). > > > >CYGWIN LIST: > > > >I tracked down the problem: the choose_temp_base() routine in libiberty > >(which is linked by dllwrap.exe) defines '\\' as the path separator on > >all _WIN32 platforms. This routine checks the environment variable > >$TMPDIR, $TMP, and $TEMP, followed by {DIRSEP}tmp, and > >{DIRSEP}usr{DIRSEP}tmp. So, in my case $TEMP=/tmp. Then, the routine > >adds {DIRSEP}ccXXXXXX where 'X' is a digit. > > > >Therefore, '/tmp\ccXXXXXX'. > > > >To whom should a patch for libiberty be sent? > > This is the code in the current libiberty: > > ifndef IN_GCC > #if defined (__MSDOS__) || (defined (_WIN32) && ! defined (__CYGWIN__) && ! defined (_UWIN)) > #define DIR_SEPARATOR '\\' > #endif > #endif > > It should do the correct thing for cygwin now, so there's no need to send > a patch to anyone. > > cgf > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com