gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] building gcl-2.6.8pre on nexenta OpenSolaris


From: Bill Page
Subject: [Gcl-devel] building gcl-2.6.8pre on nexenta OpenSolaris
Date: Fri, 20 Apr 2007 10:22:17 -0400

Camm,

After successfully building GCL and Axiom on my Solaris
10.2 x86 system, I decided to go one step further. I was
able to build gcl-2.6.8pre on nexenta OpenSolaris with
your changes for solaris-i386 and the following patch:

-------

RCS file: /sources/gcl/gcl/o/alloc.c,v
retrieving revision 1.19.4.1.2.17.2.1.4.1.2.2.4.2.4.3
diff -n -u -r1.19.4.1.2.17.2.1.4.1.2.2.4.2.4.3 alloc.c
--- o/alloc.c   31 Aug 2006 19:11:52 -0000
1.19.4.1.2.17.2.1.4.1.2.2.4.2.4.3
+++ o/alloc.c   20 Apr 2007 12:31:38 -0000
@@ -1664,7 +1664,7 @@


 #ifndef GNUMALLOC
-static void *
+void *
 memalign(size_t align,size_t size) {
   object x = alloc_simple_string(size);
   x->st.st_self = ALLOC_ALIGNED(alloc_contblock,size,align);

-------

Without this patch, the gcc compile of 'alloc.c' fails due
to the definition of memalign which conflicts with:

  stdlib.h: extern void *memalign(size_t, size_t);

I am not sure whether this is due to a header change on
this platform or if this is just an issue that is caught
by the version of gcc in use:

  $ gcc --version
  gcc (GCC) 4.0.3 (GNU_Solaris 4.0.3-1nexenta6)

Thanks for your help with this.

BTW, do you think it will be possible soon to but 2.6.8 to
bed as an official release?

Regards,
Bill Page.






reply via email to

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