[Scilab-Dev] Re: Re: linux 64 bits support

Enrico Segre enrico.segre at weizmann.ac.il
Tue Sep 2 08:20:28 CEST 2008


Simon Lipp wrote:
> Attached files are the key files for 64 bits support, double check that
> they are the same...
V inisci.f
V relocstack.f
V scimem.c
V scimem64.c
V stack.h
V stack-def.h

machine.h:
--- /usr/share/scilab/modules/core/includes/machine.h   2008-09-01 
16:56:05.000000000 +0300
+++ /data/enrico/Desktop/sci64/machine.h        2008-09-02 
08:58:09.000000000 +0300
@@ -123,10 +123,10 @@
 #define HAVE_MALLOC_H 1
 
 /* Define to 1 if you have the <matioConfig.h> header file. */
-/* #undef HAVE_MATIOCONFIG_H */
+#define HAVE_MATIOCONFIG_H 1
 
 /* Define to 1 if you have the <matio.h> header file. */
-/* #undef HAVE_MATIO_H */
+#define HAVE_MATIO_H 1
 
 /* Define to 1 if you have the `memmove' function. */
 #define HAVE_MEMMOVE 1
@@ -153,7 +153,7 @@
 #define HAVE_NETINET_IN_H 1
 
 /* Define to 1 if you have the <nlist.h> header file. */
-#define HAVE_NLIST_H 1
+/* #undef HAVE_NLIST_H */
 
 /* Define to 1 if you have the <pcre.h> header file. */
 #define HAVE_PCRE_H 1
@@ -331,7 +331,7 @@
 #define LIBXML_FLAGS "-I/usr/include/libxml2"
 
 /* libXML2 library */
-#define LIBXML_LIBS "-lxml2 -lz -lm"
+#define LIBXML_LIBS "-L/usr/lib -lxml2 -lz -lm"
 
 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
    slash. */
@@ -362,13 +362,13 @@
 #define PATH_SEPARATOR ":"
 
 /* PCRE flags */
-#define PCRE_CFLAGS ""
+#define PCRE_CFLAGS "-I/usr/local/include"
 
 /* PCRE library */
-#define PCRE_LIBS "-lpcreposix -lpcre"
+#define PCRE_LIBS "-L/usr/local/lib -lpcreposix -lpcre"
 
 /* PCRE version */
-#define PCRE_VERSION "7.0"
+#define PCRE_VERSION "7.7"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -398,13 +398,13 @@
 #define VERSION "5"
 
 /* With the FFTW library */
-/* #undef WITH_FFTW */
+#define WITH_FFTW
 

>  and that scimem64.c relocstack.f are really
> compiled (conditionnal compilation)
Quick check: I have these files

/usr/share/scilab/modules/core/.libs/libscicore_la-scimem.o
/usr/share/scilab/modules/core/libscicore_la-scimem.o
/usr/share/scilab/modules/core/.libs/relocstack.o
/usr/share/scilab/modules/core/relocstack.o
 
with recent dates.

> then --with-docbook=/usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1
>   
That is it, thanks.

Enrico



More information about the dev mailing list