PORTING-NOTES 6.04 KB
Newer Older
Erick's avatar
Erick committed
1
Version 1.x is known to compile with the standard invocation
2
     configure && make && sudo make install
Erick's avatar
.  
Erick committed
3 4 5 6 7
on the following architectures

    - Linux 2.6    (gcc-4.x 32 and 64 bits)
    - MacOS 10.5+  (gcc-4.x 32 and 64 bits)
    - FreeBSD 8.x  (gcc-4.x 32 bits)
Erick's avatar
Erick committed
8
    - Win32   	   (cygwin 1.7.x)
9 10 11

MacOs X Lion

Erick's avatar
Erick committed
12
   To compile stklos on MacOs X Lion, the following
13 14 15 16
   configuration line is known to work:

   $ CFLAGS="-Wl,-no_pie,-no_compact_unwind" ./configure \
                 --with-provided-gc --with-provided-regexp \
Erick's avatar
Erick committed
17 18 19 20 21 22
		 --with-provided-ffi --with-provided-bignum

Win32

    The Cygwin version of Boehm GC doesn't work with STklos. Consequently,
    you need at least a configuration such as
23

Erick's avatar
Erick committed
24
    $ ./configure --with-provided-gc
25

Erick's avatar
Erick committed
26 27 28 29 30 31
    to have a working version of STklos.
    Note that the current version is a rather direct port of STklos and
    has rough edges (in particular thers is no real support for the DOS
    drives and the functions using pathnames use a Unixy syntax, rather
    than the more conventional DOS one). Dynamic loading works, but GTK
    support has not been tested.
32

Erick's avatar
.  
Erick committed
33
======================================================================
Erick's avatar
.  
Erick committed
34 35
======================================================================
All the informations given below are for old versions (pre-1.0) of
36
STklos. They are here for the record.
Erick's avatar
.  
Erick committed
37 38


Erick's avatar
.  
Erick committed
39 40
This file contains a set of informations for compiling STklos on
various architectures.
Erick's avatar
.  
Erick committed
41

eg's avatar
eg committed
42
If you experience a new port or confirm/infirm/add informations which
Erick's avatar
.  
Erick committed
43 44
are specified here please send a mail to Erick Gallesio
'eg(at)unice.fr'
eg's avatar
eg committed
45

Erick's avatar
Erick committed
46
For each entry below, you'll find the OS and the version of the C
eg's avatar
eg committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
compiler used for building the system. The entry Gtklos, tells if the
GTklos has been built on this architecture. Canvases are set apart
because, they are implemented in Gnome rather than GTk. Since Gnome,
is a large library, it is likely that it is not present on a given
box.



GNU/Linux (x86) ------------------------
----------------------------------------

     OS Version: Any "recent" version of the OS
       Compiler: gcc-2.95 or gcc-3.x
    Compilation: CC=gcc
    		 CFLAGS=-03 -fomit-frame-pointer
    	    Who: Erick Gallesio  'eg(at)essi.fr'
  	 GTklos: Yes
	 Canvas: Yes
	Remarks: This is the STklos main development machine.


GNU/Linux (alpha) ----------------------
----------------------------------------

     OS Version: Microway Linux release 6.2 (redhat based)
       Compiler: egcs-2.91
    Compilation: CC=gcc
Erick's avatar
Erick committed
74
                 CFLAGS=-O2 --disable-gtklos
eg's avatar
eg committed
75 76 77 78
    	    Who: Erick Gallesio  'eg(at)essi.fr'
  	 GTklos: Yes
	 Canvas: No (see below)
	Remarks: I was not able to test canvases, because the machine I
79
		 on which I have tested use an old distribution.
eg's avatar
eg committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

GNU/Linux (itanium) --------------------
----------------------------------------

     OS Version: Red Hat Ent Linux AS 2.1
       Compiler: gcc-3.2
    Compilation: CC=gcc
    	    Who: Erick Gallesio  'eg(at)essi.fr'
  	 GTklos: Yes
	 Canvas: Yes
	Remarks: Thanks to HP Test Drive Program for providing the machine

FreeBSD (x86) -------------------------
----------------------------------------

     OS Version: version 4.2
96
       Compiler: gcc
eg's avatar
eg committed
97 98
    Compilation:
	         CC=gcc
Erick's avatar
Erick committed
99
	         CFLAGS=-O2
eg's avatar
eg committed
100 101 102 103 104 105 106
  	 GTklos: No (see below)
	 Canvas: No (see below)
            Who: Erick Gallesio  'eg(at)essi.fr'
        Remarks: I have no more access to such a machine. Last version
		 tested was STklos v0.51. GTklos and Canvas where not
		 tested because the machine didn't have X11 installed.

107
		 A more recent log (04/08/03) of a port done by Kimura
eg's avatar
eg committed
108 109
		 Fuyuki  is available at
		 http://bento.freebsd.org/errorlogs/i386-5-full-logs/stklos-0.54.log
110
		 Port works on x86 only.
eg's avatar
eg committed
111 112 113 114 115 116 117

Win32/Cygwin ---------------------------
----------------------------------------

     OS Version: Win32 (XP pro)
       Compiler: gcc 3.2.1
    Compilation: CC=gcc
Erick's avatar
Erick committed
118
    		 CFLAGS=-O2 --disable-gtk --disable-gnome
eg's avatar
eg committed
119 120 121 122 123 124 125 126 127 128 129 130 131 132
  	 GTklos: No (see below)
	 Canvas: No (see below)
            Who: Erick Gallesio  'eg(at)essi.fr'
        Remarks: I have not even tried to compile GTklos on this
		 OS because I don't know how to use the GTk on Win32
		 and I'm not really interested to do it.
		 Any taker?

Apple OS-X -----------------------------
----------------------------------------

     OS Version: Darwin Kernel Version 6.3
       Compiler: Apple Computer, Inc. GCC version 1161, based on gcc 3.1
    Compilation: CC=gcc
Erick's avatar
Erick committed
133
    		 CFLAGS=-O2 --disable-gnome
eg's avatar
eg committed
134 135 136 137 138 139 140 141 142 143 144 145 146 147
  	 GTklos: Yes
	 Canvas: No (see below)
            Who: Erick Gallesio  'eg(at)essi.fr'
        Remarks: Gnome didn't work on the platform I have used, so I
		 was not able to test, but since (nearly) everything
		 went smoothly on this OS, it should work.


Sun Solaris ----------------------------
----------------------------------------

     OS Version: Solaris 6
       Compiler: gcc 3.0.1
    Compilation: CC=gcc
Erick's avatar
Erick committed
148
    		 CFLAGS=-O2 --disable-gnome --disable-gtk
eg's avatar
eg committed
149 150 151 152 153
  	 GTklos: No (libs not present)
	 Canvas: No (libs not present)
            Who: Erick Gallesio  'eg(at)essi.fr'
        Remarks: I had problems with gmp, which did not work in
		 generic mode. I had to configure STklos and then
154
		 I went in the gmp directory and did
eg's avatar
eg committed
155 156 157 158 159 160 161 162 163 164 165
		     configure --disable-shared --target=sparc64
		 and then, you can go back in the main directory and
		 do a standard "make" and "make install"


SGI Irix -- ----------------------------
----------------------------------------

     OS Version: Irix 6.5.20f (Octane, MIPS R10,000)
       Compiler: gcc 3.3
    Compilation: CC=gcc
Erick's avatar
Erick committed
166
    		 CFLAGS=-O2 --disable-gnome
167
  	 GTklos: Yes
eg's avatar
eg committed
168 169 170 171 172 173 174 175 176 177 178 179
	 Canvas: No (libs not present)
            Who: Joshua Boyd jdboyd(at)jdboyd.net
        Remarks: Some problems with the provided GMP, but it works
	         with the one available from SGI

Open Darwin  (PPC) ---------------------
----------------------------------------

     OS Version: MacOS-X 10.3/OpenDarwin 7.1/Darwin 7.0
       Compiler: gcc 3.3
    Compilation: --disable-gnome --disable-gtk
  	 GTklos: No
180
	 Canvas: No
eg's avatar
eg committed
181 182 183 184
            Who: Markus W.Weissmann (mww (at) opendarwin.org)
        Remarks: The portfile is available from
                 http://darwinports.opendarwin.org/