texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] Compiling texmacs on alpha GNU/Linux


From: Ralf Treinen
Subject: [Texmacs-dev] Compiling texmacs on alpha GNU/Linux
Date: Mon, 20 May 2002 10:23:29 +0200
User-agent: Mutt/1.3.28i

Hi,

here is what I did to compile texmacs 1.0.0.1 on an alpha,
Red Hat Linux release 7.1 (Seawolf):

--- texmacs-1.0.0.1.orig/src/Basic/System/file.gen.cc
+++ texmacs-1.0.0.1/src/Basic/System/file.gen.cc
@@ -677,6 +677,10 @@
   char* _var = as_charp (var);
   char* _with= as_charp (with);
   setenv (_var, _with, 1);
+#os alpha-gnu-linux
+  char* _var = as_charp (var);
+  char* _with= as_charp (with);
+  setenv (_var, _with, 1);
 #os sun
   char* _varw= as_charp (var * "=" * with);
   (void) putenv (_varw);

--- texmacs-1.0.0.1.orig/configure.in
+++ texmacs-1.0.0.1/configure.in
@@ -189,6 +189,23 @@
     CONFIG_WORD_MASK="0xfffffffc"
     CONFIG_MAX_FAST="260 // WORD_LENGTH more than power of 2"
   ;;
+ *alpha*-*-linux-gnu*)
+    AC_MSG_RESULT(final setup for an Alpha/GNU-Linux host)
+    CONFIG_OS="alpha-gnu-linux"
+    CONFIG_CX="$X_CFLAGS"
+    CONFIG_LSTATIC="-static"
+    CONFIG_LSHARED="-shared"
+    CONFIG_LPATH="-Wl,-rpath,"
+    CONFIG_LX="$X_LIBS -lXext -lX11"
+    CONFIG_BSTATIC=""
+    CONFIG_BSHARED="-shared"
+    CONFIG_BPATH="-Wl,-rpath,"
+    CONFIG_BX="$X_LIBS -lXext -lX11"
+    CONFIG_WORD_LENGTH="8"
+    CONFIG_WORD_LENGTH_INC="7"
+    CONFIG_WORD_MASK="0xfffffffffffffff8"
+    CONFIG_MAX_FAST="264 // WORD_LENGTH more than power of 2"
+  ;;

I compiled with STATIC_TEXMACS using the following options:

OPTFLAGS="-O2"
LDBSTATIC="-lltdl"

I also tried MIXED_TEXMACS but it bombs out with Segmentation Fault.
The "-lltdl" flags has recently been necessary when compiling on
Debian GNU/Linux. 

-Ralf.
-- 



reply via email to

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