gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gcl-devel] Problem installing Gcl under Windows


From: Mike Thomas
Subject: RE: [Gcl-devel] Problem installing Gcl under Windows
Date: Fri, 14 Jan 2005 13:53:31 +1000

Hi again.

| I have attached the log files created by the commands you sent in
| your email.
| My PC data:
| CPU: Pentium 4   2.4 Ghz
| HD free space : 60GB
| RAM: 1GB
| S/O: Windows 2000  version 5.00.2195 Service Pack 4
|
| I hope this helps.

I believe it does as I forgot to mention another essential patch for current
MinGW32 GCL I'm sorry.  Try patching "o/alloc.c" like this:


================================================================
$ diff -Naur gcl-2.6.5{,-ansi}/o/alloc.c
--- gcl-2.6.5/o/alloc.c Tue Aug 17 03:28:20 2004
+++ gcl-2.6.5-ansi/o/alloc.c    Fri Jan 14 13:39:00 2005
@@ -1485,6 +1485,16 @@
                RECREATE_HEAP
 #endif
                ;
+#ifdef       __MINGW32__
+                   /* If malloc() gets called by the C runtime before
+                    * main starts and the shared memory is not yet
+                    * initialised causing boofo.
+                    * SET_REAL_MAXPAGE calls init_shared_memory().
+                    * This problem arose with gcc 3.4.2 and new libs.
+                    */
+                   SET_REAL_MAXPAGE
+                   ;
+   #endif
           }
        }
================================================================


Before recompiling, delete all the executables produced so far:


================================================================
  rm */*.exe
  make >make.log 2>&1
================================================================

and all going well you should get this:


================================================================
$ ls unixport/*.exe
unixport/raw_ansi_gcl.exe  unixport/saved_ansi_gcl.exe
unixport/raw_gcl.exe       unixport/saved_gcl.exe
unixport/raw_pcl_gcl.exe   unixport/saved_pcl_gcl.exe
unixport/raw_pre_gcl.exe   unixport/saved_pre_gcl.exe
unixport/rsym.exe

address@hidden /c/lang/source/gcl/gcl-2.6.5-ansi
$ unixport/saved_ansi_gcl.exe
GCL (GNU Common Lisp)  2.6.5 ANSI    Jan 14 2005 13:40:02
Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
Binary License:  GPL due to GPL'ed components: (UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.

>
================================================================



Cheers

Mike Thomas.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]