2002-11-20 04:25:18 +00:00
|
|
|
\input texinfo @c -*-texinfo-*-
|
2001-02-26 19:12:47 +00:00
|
|
|
@setfilename machines.info
|
2004-02-12 04:36:45 +00:00
|
|
|
@settitle Platform Compatibility
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
@ifclear HOWTO
|
2004-10-18 15:32:39 +00:00
|
|
|
@c Machine Specific, Compilers, , (DIR)
|
|
|
|
@node Machine Specific, Compilers, , (DIR)
|
2001-02-26 19:12:47 +00:00
|
|
|
@chapter Machines
|
|
|
|
@end ifclear
|
|
|
|
|
|
|
|
Below is a list of machines that people have attempted to compile
|
|
|
|
GNUstep on. GNUstep compiles with little or no trouble on many of the
|
|
|
|
more popular operating systems. Some machines marked with
|
|
|
|
@emph{Unstable} may have some trouble or may not work at all.
|
2004-06-10 15:07:36 +00:00
|
|
|
Platforms marked @emph{Needs Testing} are not actively tested by developers
|
|
|
|
and need someone to help with reporting problems and fixes.
|
|
|
|
Platforms marked @emph{Obsolete} are very old distributions. No one really
|
|
|
|
knows if GNUstep works on these although they may.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
If you have compiled GNUstep on a specific machine, please send information
|
|
|
|
about what you needed and any special instructions needed to
|
|
|
|
GNUstep @email{bug-gnustep@@gnu.org}.
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
@menu
|
2004-10-18 15:32:39 +00:00
|
|
|
* Compilers::
|
2004-03-08 04:16:13 +00:00
|
|
|
* Darwin/ix86::
|
|
|
|
* Darwin/PowerPC::
|
2001-02-26 19:12:47 +00:00
|
|
|
* Debian/DEC-Alpha::
|
2004-01-15 17:20:20 +00:00
|
|
|
* Debian/i386::
|
|
|
|
* Debian/PowerPC::
|
|
|
|
* Debian/SPARC::
|
2004-04-13 02:40:25 +00:00
|
|
|
* FreeBSD 5.x::
|
2002-04-11 23:08:37 +00:00
|
|
|
* FreeBSD 4.x::
|
2001-02-26 19:12:47 +00:00
|
|
|
* FreeBSD 3.x::
|
|
|
|
* FreeBSD 2.x::
|
2002-06-07 03:33:02 +00:00
|
|
|
* Irix 6.5/MIPS::
|
2004-06-06 04:01:41 +00:00
|
|
|
* MacOSX/PowerPC::
|
2001-02-26 19:12:47 +00:00
|
|
|
* MkLinux/PowerPC::
|
|
|
|
* NetBSD::
|
|
|
|
* Netwinder::
|
2003-10-05 02:21:04 +00:00
|
|
|
* OpenBSD 3.x::
|
2001-02-26 19:12:47 +00:00
|
|
|
* OSF/Alpha::
|
2004-01-15 17:20:20 +00:00
|
|
|
* RedHat/Intel::
|
2002-07-04 03:36:09 +00:00
|
|
|
* Slackware/Intel::
|
2001-02-26 19:12:47 +00:00
|
|
|
* Solaris 2.5.1/Sparc::
|
2002-07-04 03:36:09 +00:00
|
|
|
* Solaris/Sparc::
|
2001-02-26 19:12:47 +00:00
|
|
|
* Solaris 2.7/Intel::
|
|
|
|
* Suse 6.x/Intel::
|
2002-07-04 03:36:09 +00:00
|
|
|
* Suse/Intel::
|
2002-06-07 03:33:02 +00:00
|
|
|
* Suse 7.x/PPC::
|
2001-02-26 19:12:47 +00:00
|
|
|
* Unixware-2.1.3/Intel::
|
|
|
|
* Windows with CYGWIN::
|
2001-04-10 03:19:42 +00:00
|
|
|
* Windows with MinGW::
|
2004-01-15 17:20:20 +00:00
|
|
|
* Yellowdog/PowerPC::
|
2001-02-26 19:12:47 +00:00
|
|
|
@end menu
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@c -----------------------------------------
|
|
|
|
@node Compilers, Darwin/ix86, Machine Specific, Machine Specific
|
|
|
|
@section Compilers
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
A recommended compiler is listed for each machine, if known. You should try
|
|
|
|
to use the recommended compiler for compiling GNUstep, as GNUstep is quite
|
|
|
|
complex and tends provoke a lot of errors in some compilers. Even versions
|
|
|
|
newer than the listed compiler may not work, so don't just get the latest
|
|
|
|
version of a compiler expecting it to be better than previous versions.
|
|
|
|
|
2002-10-10 03:24:39 +00:00
|
|
|
Compiler notes: If a recommended compiler is not listed, take note of the
|
|
|
|
following information before choosing the compiler you use.
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2002-10-10 03:24:39 +00:00
|
|
|
@item egcs or gcc < 2.95
|
2004-03-08 04:16:13 +00:00
|
|
|
Might work, but few people use these now.
|
2002-10-10 03:24:39 +00:00
|
|
|
@item gcc 2.95.x
|
|
|
|
Probably the oldest compiler that GNUstep is regularly tested with.
|
|
|
|
@item gcc 2.96
|
|
|
|
Not an official gcc release. Some versions (Redhat, Mandrake) have problems
|
|
|
|
that prevent GNUstep from being compiled correctly and cause
|
|
|
|
mysterious errors.
|
|
|
|
@item gcc 3.0.x
|
|
|
|
A fairly good compiler. Recommended.
|
|
|
|
@item gcc 3.1
|
|
|
|
Several bugs where introduced in the version. It's probably better to
|
|
|
|
avoid this one, although it might work fine.
|
2002-12-10 16:48:02 +00:00
|
|
|
@item gcc 3.2.x
|
|
|
|
Pretty good. Recommended.
|
2003-09-28 02:09:49 +00:00
|
|
|
@item gcc 3.3.x
|
|
|
|
Recommended. Fixes some bugs relating to protocols as well as other
|
|
|
|
improvements.
|
2004-10-23 02:11:41 +00:00
|
|
|
@item gcc 3.4.x
|
|
|
|
Recommended. The #import directive is no longer deprecated as of this
|
|
|
|
version of the compiler.
|
2002-10-10 03:24:39 +00:00
|
|
|
@end table
|
|
|
|
|
2001-04-10 03:19:42 +00:00
|
|
|
If your having mysterious trouble with a machine, try compiling GNUstep
|
|
|
|
without optimization. Particularly in the newer GCC compilers,
|
|
|
|
optimization can break some code. The easiest way to do this is when
|
2004-10-18 15:32:39 +00:00
|
|
|
configuring, @kbd{CFLAGS="" ./configure}. Or when building,
|
|
|
|
@kbd{make OPTFLAG=""}.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2003-03-23 06:53:16 +00:00
|
|
|
Also if you manually upgraded gcc and/or make, we recommend reading the
|
|
|
|
documentation at @url{http://www.LinuxFromScratch.org} for tips on compiling
|
|
|
|
and installing gcc and make. If you had GNUstep previously installed, make sure
|
|
|
|
you completely remove all of it, including installed init scripts.
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
@c -----------------------------------------
|
2004-10-18 15:32:39 +00:00
|
|
|
@node Darwin/ix86, Darwin/PowerPC, Compilers, Machine Specific
|
2004-03-08 04:16:13 +00:00
|
|
|
@section Darwin/ix86
|
|
|
|
|
|
|
|
Currently tested on Darwin 7.x
|
2001-04-10 03:19:42 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-04-10 03:19:42 +00:00
|
|
|
@item Recommended compiler
|
2004-01-19 04:29:57 +00:00
|
|
|
gcc 3.3.2. Older versions will not compile on Darwin.
|
2002-12-10 16:48:02 +00:00
|
|
|
|
2004-03-08 04:16:13 +00:00
|
|
|
Default compiler has unknown problems.
|
2003-03-23 06:53:16 +00:00
|
|
|
Use the GNU runtime. Download the gcc compiler and configure it with
|
2003-10-20 03:53:57 +00:00
|
|
|
--enable-threads=posix. You don't need binutils or anything else.
|
|
|
|
|
2004-03-08 04:16:13 +00:00
|
|
|
@item Extra libs needed
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
|
2004-04-13 02:40:25 +00:00
|
|
|
Read the @url{README.Darwin} file in the gnustep-make/Documentation
|
|
|
|
directory for complete instructions.
|
2004-03-08 04:16:13 +00:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node Darwin/PowerPC, Debian/DEC-Alpha, Darwin/ix86, Machine Specific
|
|
|
|
@section Darwin/PowerPC
|
|
|
|
|
|
|
|
Currently tested on Darwin 6.x, 7.x
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-03-08 04:16:13 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
gcc 3.3.2. Older versions will not compile on Darwin.
|
|
|
|
|
|
|
|
Default compiler has unknown problems.
|
|
|
|
Use the GNU runtime. Download the gcc compiler and configure it with
|
|
|
|
--enable-threads=posix. You don't need binutils or anything else.
|
2001-04-10 03:19:42 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
2002-12-10 16:48:02 +00:00
|
|
|
Use libffi (not ffcall). This should be enabled by default in gnustep-base
|
2004-06-06 04:01:41 +00:00
|
|
|
so you don't have to type --enable-libffi. For 6.x, you need the dlcompat
|
|
|
|
library (from @url{www.opendarwin.org}) to load bundles (not needed for 7.x).
|
2002-12-10 16:48:02 +00:00
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
|
2004-04-13 02:40:25 +00:00
|
|
|
Read the @url{README.Darwin} file in the gnustep-make/Documentation
|
|
|
|
directory for complete instructions.
|
2002-12-10 16:48:02 +00:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
2004-06-06 04:01:41 +00:00
|
|
|
See also the MacOSX/PowerPC section
|
|
|
|
|
2002-12-10 16:48:02 +00:00
|
|
|
@c -----------------------------------------
|
2004-03-08 04:16:13 +00:00
|
|
|
@node Debian/DEC-Alpha, Debian/i386, Darwin/PowerPC, Machine Specific
|
2001-02-26 19:12:47 +00:00
|
|
|
@section Debian/DEC-Alpha
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
2004-01-15 17:20:20 +00:00
|
|
|
None
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node Debian/i386, Debian/PowerPC, Debian/DEC-Alpha, Machine Specific
|
|
|
|
@section Debian/i386
|
|
|
|
|
|
|
|
Tested on sid.
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-01-15 17:20:20 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
None
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node Debian/PowerPC, Debian/SPARC, Debian/i386, Machine Specific
|
|
|
|
@section Debian/PowerPC
|
|
|
|
|
|
|
|
Tested on sid.
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-01-15 17:20:20 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
None
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-04-13 02:40:25 +00:00
|
|
|
@node Debian/SPARC, FreeBSD 5.x, Debian/PowerPC, Machine Specific
|
2004-01-15 17:20:20 +00:00
|
|
|
@section Debian/SPARC
|
|
|
|
|
|
|
|
Tested on sid.
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-01-15 17:20:20 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
2001-02-26 19:12:47 +00:00
|
|
|
Unknown
|
2004-01-15 17:20:20 +00:00
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
None
|
2001-02-26 19:12:47 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-04-13 02:40:25 +00:00
|
|
|
@node FreeBSD 5.x, FreeBSD 4.x, Debian/SPARC, Machine Specific
|
|
|
|
@section FreeBSD 5.x
|
|
|
|
|
|
|
|
Tested on 5.0 and 5.1
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-04-13 02:40:25 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
None.
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
Can install via /usr/ports/devel/gnustep, but not all required dependancies
|
|
|
|
are installed. See the GNUstep-HOWTO for list of libraries.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node FreeBSD 4.x, FreeBSD 3.x, FreeBSD 5.x, Machine Specific
|
2002-10-10 03:24:39 +00:00
|
|
|
@section FreeBSD 4.x
|
2002-04-11 23:08:37 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2002-04-11 23:08:37 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
2002-10-10 03:24:39 +00:00
|
|
|
For gcc 3.0.4, make WANT_THREADS_SUPPORT=YES
|
|
|
|
|
|
|
|
For libxml2 2.4.24, make WITHOUT_PYTHON=YES
|
|
|
|
|
2002-04-11 23:08:37 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node FreeBSD 3.x, FreeBSD 2.x, FreeBSD 4.x, Machine Specific
|
2001-02-26 19:12:47 +00:00
|
|
|
@section FreeBSD 3.x
|
|
|
|
|
|
|
|
Compiles "out of the box" on FreeBSD 3.4.
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
gcc 2.95.2
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
|
|
|
|
You need to use gmake not make to compile the GNUstep packages. A special
|
|
|
|
port of gdb can be used with the Objective-C patches from
|
|
|
|
@url{ftp://ftp.pcnet.com/users/eischen/FreeBSD/gdb-4.17-port.tar.gz}
|
|
|
|
|
|
|
|
The best compiler for GNUstep is the latest release of the GNU Compiler
|
|
|
|
Collection (GCC). You can find it at @url{http://egcs.cygnus.com/}.
|
|
|
|
|
|
|
|
If you want to use the native POSIX threads support from @file{libc_r} pass
|
|
|
|
@code{--enable-threads=posix} to configure. This is the recommended option as
|
|
|
|
this is the FreeBSD threads package that gives the best results --with others
|
|
|
|
you may be unable to run some examples like @file{diningPhilosophers}.
|
|
|
|
|
|
|
|
The whole compilation process can fail if you have another threads library
|
|
|
|
installed so watch out for installed packages like @file{pth} and such.
|
|
|
|
Besides the support for libc_r, GNUstep will also look for @file{pth} and
|
|
|
|
@file{pcthreads}, so if you have installed them and they aren't detected
|
|
|
|
prepare to write a nice bug report.
|
|
|
|
|
|
|
|
This can be done more much easily by using the port version. Just @code{cd}
|
|
|
|
to @file{/usr/ports/lang/egcs} and do a @code{"make WANT_THREADS=yes install"}.
|
|
|
|
Easy.
|
|
|
|
|
|
|
|
If configure cannot find tiff.h or the tiff library and you have it installed
|
|
|
|
in a non-standard place (even @file{/usr/local}), you may need to pass these
|
|
|
|
flags to configure: @code{CFLAGS="-I/usr/local/include"} and
|
|
|
|
@code{LDFLAGS="-L/usr/local/lib"}.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-01-15 17:20:20 +00:00
|
|
|
@node FreeBSD 2.x, Irix 6.5/MIPS, FreeBSD 3.x, Machine Specific
|
2004-06-10 15:07:36 +00:00
|
|
|
@section FreeBSD 2.x (@emph{Obsolete,Unstable})
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
gcc 2.8.x
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
Only static libraries work on this system.
|
|
|
|
Use /stand/sysinstall to install these packages if you have not
|
|
|
|
already done so:
|
|
|
|
|
|
|
|
@format
|
|
|
|
gmake (GNU make)
|
|
|
|
gcc 2.8.x
|
|
|
|
@end format
|
|
|
|
|
|
|
|
Seems to compile ok, but some tests crash. Possibly due to a
|
|
|
|
performace 'hack' in base. Might be a good idea to upgrade to FreeBSD 3.x.
|
|
|
|
You need to use gmake not make to compile the GNUstep packages.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-06-06 04:01:41 +00:00
|
|
|
@node Irix 6.5/MIPS, MacOSX/PowerPC, FreeBSD 2.x, Machine Specific
|
2002-06-07 03:33:02 +00:00
|
|
|
@section Irix 6.5/MIPS
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
2002-12-10 16:48:02 +00:00
|
|
|
gcc 3.2.1
|
|
|
|
|
|
|
|
To use threads, it's necessary to bootstrap a compiler yourself:
|
|
|
|
configure with --enable-threads=posix, that will work as long as you
|
|
|
|
link EVERY objective C executable with -lpthread, no matter what
|
|
|
|
warnings the irix linker produces!
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
2002-12-10 16:48:02 +00:00
|
|
|
If you cannot link the library because of the very low default limit
|
|
|
|
(20480) for the command line length, then you should either use systune
|
|
|
|
ncargs to increase the value (maximum is 262144) or link the library by
|
|
|
|
hand.
|
|
|
|
No libffi-support: Use ffcall
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-06-06 04:01:41 +00:00
|
|
|
@node MacOSX/PowerPC, MkLinux/PowerPC, Irix 6.5/MIPS, Machine Specific
|
|
|
|
@section MacOSX/PowerPC
|
|
|
|
|
|
|
|
Currently tested on MacOSX 10.2, 10.3
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-06-06 04:01:41 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Default.
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
None.
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
By default, on Mac OS X, only the GNUstep extensions are built. This
|
|
|
|
is if you want to build gdl2, etc on Mac OS X. Xcode project files
|
|
|
|
exist, but they may not be up-to-date. Try:
|
|
|
|
|
|
|
|
@example
|
|
|
|
cd make
|
|
|
|
./configure --with-library-combo=apple-apple-apple
|
2004-06-10 15:07:36 +00:00
|
|
|
make install
|
2004-06-06 04:01:41 +00:00
|
|
|
|
|
|
|
cd ../base
|
|
|
|
./configure --with-xml-prefix=/usr --disable-xmltest
|
2004-06-10 15:07:36 +00:00
|
|
|
make debug=yes install
|
2004-06-06 04:01:41 +00:00
|
|
|
@end example
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
See also the Darwin/PowerPC section.
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node MkLinux/PowerPC, NetBSD, MacOSX/PowerPC, Machine Specific
|
2004-03-08 04:16:13 +00:00
|
|
|
@section MkLinux/PowerPC
|
2002-11-06 04:52:11 +00:00
|
|
|
|
2004-03-08 04:16:13 +00:00
|
|
|
Tested with R2 RC2 (2004/03/04).
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
2004-01-15 17:20:20 +00:00
|
|
|
gcc 3.x allthough earlier ones should work if you also install gnustep-objc
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
None.
|
|
|
|
|
|
|
|
@item Special Instructions
|
2004-03-08 04:16:13 +00:00
|
|
|
Unknown.
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-01-15 17:20:20 +00:00
|
|
|
@node NetBSD, Netwinder, MkLinux/PowerPC, Machine Specific
|
2001-02-26 19:12:47 +00:00
|
|
|
@section NetBSD
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
2001-02-28 19:59:16 +00:00
|
|
|
libiconv
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Special Instructions
|
2004-03-08 04:16:13 +00:00
|
|
|
See the @url{README.NetBSD} file located in the gnustep-make package.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2003-10-05 02:21:04 +00:00
|
|
|
@node Netwinder, OpenBSD 3.x, NetBSD, Machine Specific
|
2004-06-10 15:07:36 +00:00
|
|
|
@section Netwinder (@emph{Unstable})
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Build #12 of the system.
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
See @url{http://www.netwinder.org/~patrix}
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2003-10-05 02:21:04 +00:00
|
|
|
@node OpenBSD 3.x, OSF/Alpha, Netwinder, Machine Specific
|
2004-06-10 15:07:36 +00:00
|
|
|
@section OpenBSD 3.x (@emph{Needs Testing})
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
2004-03-08 04:16:13 +00:00
|
|
|
Try reading the @url{README.NetBSD} which might work the same on OpenBSD.
|
2001-02-26 19:12:47 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-01-15 17:20:20 +00:00
|
|
|
@node OSF/Alpha, RedHat/Intel, OpenBSD 3.x, Machine Specific
|
2004-06-10 15:07:36 +00:00
|
|
|
@section OSF Alpha (@emph{Unstable})
|
2001-02-26 19:12:47 +00:00
|
|
|
@c Contact: suzukis@file.phys.tohoku.ac.jp
|
|
|
|
|
|
|
|
Information is for Version 3.2C
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
egcs-1.1.1/1.1.2, gcc-2.95
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
Can only compile with static libraries. Compiler may fail when
|
|
|
|
linking executables (e.g. gdnc). Standard ranlib and ar programs are
|
|
|
|
to feable to create libraries. Should use GNU binutils versions. Linker
|
|
|
|
sometimes fails to find symbols, in which case you may need to link with
|
2002-04-03 16:58:42 +00:00
|
|
|
a library twice. For instance, add an extra -lgnustep-gui in
|
2001-02-26 19:12:47 +00:00
|
|
|
ADDTIONAL_TOOL_LIBS in the GNUmakefile(.preamble).
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2004-01-15 17:20:20 +00:00
|
|
|
@node RedHat/Intel, Slackware/Intel, OSF/Alpha, Machine Specific
|
|
|
|
@section RedHat/Intel
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-01-15 17:20:20 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Standard
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Standard (ffcall or libffi)
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
None
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node Slackware/Intel, Solaris 2.5.1/Sparc, RedHat/Intel, Machine Specific
|
2002-07-04 03:36:09 +00:00
|
|
|
@section Slackware/Intel
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2002-07-04 03:36:09 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown.
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown.
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
Unknown.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node Solaris 2.5.1/Sparc, Solaris/Sparc, Slackware/Intel, Machine Specific
|
2002-11-06 04:52:11 +00:00
|
|
|
@section Solaris 2.5.1/Sparc (@emph{Obsolete})
|
|
|
|
|
|
|
|
This configuration is no longer being tested, but it may still work.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
tiff, Don't use the one in /usr/openwin
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
See the Solaris 2.6 section for more instructions.
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2002-07-04 03:36:09 +00:00
|
|
|
@node Solaris/Sparc, Solaris 2.7/Intel, Solaris 2.5.1/Sparc, Machine Specific
|
2004-06-16 15:14:59 +00:00
|
|
|
@section Solaris 2.[678]/Sparc
|
|
|
|
|
|
|
|
Tested on Solaris version 6, 7, and 8
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
2004-06-16 15:14:59 +00:00
|
|
|
gcc 3.2.1 or greater
|
2001-04-10 03:19:42 +00:00
|
|
|
gcc 2.95.3. Version 2.95.2 has several bugs that GNUstep tickles.
|
2002-06-07 03:33:02 +00:00
|
|
|
gcc 3.04. Not 3.1 - does not compile parts of GNUstep.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
tiff, Don't use the one in /usr/openwin
|
|
|
|
|
|
|
|
@item Special Instructions
|
2002-12-10 16:48:02 +00:00
|
|
|
|
2002-07-04 03:36:09 +00:00
|
|
|
Using a POSIX shell (zsh or bash, which should come with Solaris) is
|
|
|
|
highly recommended. In fact, some functions, such as compiling frameworks,
|
|
|
|
will not work without it.
|
|
|
|
|
2002-06-11 02:06:35 +00:00
|
|
|
@end table
|
|
|
|
|
2003-03-23 06:53:16 +00:00
|
|
|
Some people have reported problems when using binutils assembler and linker.
|
|
|
|
Using the native Solaris assmebler and linker should work fine.
|
|
|
|
|
2002-06-07 03:33:02 +00:00
|
|
|
Older Instructions:
|
2001-02-26 19:12:47 +00:00
|
|
|
If you are using threads, make sure the Objective-C runtime (libobjc that comes
|
|
|
|
with gcc) is compiled with threads enabled (This is true by default) AND that
|
|
|
|
it is compiled with the _REENTRANT flag defined (This does not seem to be
|
2001-10-25 02:34:37 +00:00
|
|
|
true by default). Or use the gnustep-objc package. Also make sure THREADS is
|
|
|
|
set to 'posix' not 'solaris'.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@c -----------------------------------------
|
2002-07-04 03:36:09 +00:00
|
|
|
@node Solaris 2.7/Intel, Suse 6.x/Intel, Solaris/Sparc, Machine Specific
|
2001-02-26 19:12:47 +00:00
|
|
|
@section Solaris 2.7/Intel
|
|
|
|
@c Contact?: Sebastian Niesen <sniesen@niesen.net>
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
2002-06-07 03:33:02 +00:00
|
|
|
Unknown.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Special Instructions
|
2002-02-27 23:29:43 +00:00
|
|
|
Make sure there are no -g compiler flags (i.e. compiling with debug=yes
|
|
|
|
might be a problem). Unsure of correct bundle flags - You might need
|
|
|
|
to use the alternate flags listed in target.make, line 989. Also,
|
2004-10-18 15:32:39 +00:00
|
|
|
configuring gnustep-make with @option{--disable-backend-bundle} might be
|
2002-02-27 23:29:43 +00:00
|
|
|
necessary if you can't get bundles to work.
|
|
|
|
You will probable get a lot of text relocation
|
2001-02-26 19:12:47 +00:00
|
|
|
warnings, which probably can be ignored. See the other Solaris
|
|
|
|
instructions above for more information.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2002-07-04 03:36:09 +00:00
|
|
|
@node Suse 6.x/Intel, Suse/Intel, Solaris 2.7/Intel, Machine Specific
|
2001-02-26 19:12:47 +00:00
|
|
|
@section Suse 6.x/Intel
|
|
|
|
|
|
|
|
GNUstep has been tested on version 6.2-6.4 of Suse
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Standard
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
None
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
It seems that there is a problem with the default kernel build
|
|
|
|
distributed with Suse which means that the socket binding used by
|
|
|
|
gdnc doesn't work. If you recompile the kernel then it starts working.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2002-07-04 03:36:09 +00:00
|
|
|
@node Suse/Intel, Suse 7.x/PPC, Suse 6.x/Intel, Machine Specific
|
|
|
|
@section Suse/Intel
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-06-06 04:01:41 +00:00
|
|
|
GNUstep has been tested on version 7.0, 8.0, 8.1, 8.2, 9.0, and 9.1 of Suse
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
2003-12-29 23:16:04 +00:00
|
|
|
The default compiler that comes with Susu is fine. Also
|
|
|
|
gcc2.95.x, gcc3.0.x, 3.1 and 3.2 work, but 2.95 is faster.
|
2002-06-07 03:33:02 +00:00
|
|
|
Compile with --threads-enabled (non-standard).
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
None
|
|
|
|
|
|
|
|
@item Special Instructions
|
2002-11-06 04:52:11 +00:00
|
|
|
None.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2002-07-04 03:36:09 +00:00
|
|
|
@node Suse 7.x/PPC, Unixware-2.1.3/Intel, Suse/Intel, Machine Specific
|
2002-06-07 03:33:02 +00:00
|
|
|
@section Suse 7.x/PPC
|
|
|
|
|
2003-12-29 23:16:04 +00:00
|
|
|
GNUstep has been tested on version 7.0 of Suse/PPC
|
2002-06-07 03:33:02 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2002-06-07 03:33:02 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Standard. gcc2.95.x, gcc3.0.x and gc3.1 work, but 2.95 is faster.
|
|
|
|
Compile with --threads-enabled (non-standard).
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
None
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
|
|
|
@node Unixware-2.1.3/Intel, Windows with CYGWIN, Suse 7.x/PPC, Machine Specific
|
2001-02-26 19:12:47 +00:00
|
|
|
@section Unixware-2.1.3/Intel
|
|
|
|
@c Contact?: Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Unknown
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
Special Instructions for GNUstep installation on Unixware 2.1 systems
|
|
|
|
|
|
|
|
@table @asis
|
|
|
|
|
|
|
|
@item 1
|
|
|
|
Tune the kernel to increase the argument space so that we can pass long
|
|
|
|
command-line argument strings to processes (which the makefiles do)
|
|
|
|
(/etc/conf/bin/idtune ARG_MAX 102400)
|
|
|
|
|
|
|
|
@item 2
|
|
|
|
Install raft of the latest GNU software
|
|
|
|
|
|
|
|
@format
|
|
|
|
gzip (you need this to unpack other stuff)
|
|
|
|
make (to build everything)
|
|
|
|
m4 (for autoconf etc)
|
|
|
|
autoconf (if you need to change anything)
|
|
|
|
bison
|
|
|
|
flex
|
|
|
|
binutils (required by gcc if you want to debug)
|
|
|
|
gcc-2.8.1
|
|
|
|
(configure --with-gnu-as --with-gnu-ld --with-stabs)
|
|
|
|
NB. gcc-2.8.1 needs a fix to __do_global_dtors_aux()
|
|
|
|
in crtstuff.c on Unixware 2.1.3
|
|
|
|
(and possibly other unixware versions)
|
|
|
|
The fix is already in recent versions of egcs.
|
|
|
|
|
|
|
|
@end format
|
|
|
|
|
|
|
|
@example
|
|
|
|
==================================
|
|
|
|
static void
|
|
|
|
__do_global_dtors_aux ()
|
|
|
|
@{
|
|
|
|
static func_ptr *p = __DTOR_LIST__ + 1;
|
|
|
|
static int completed = 0;
|
|
|
|
|
|
|
|
if (completed)
|
|
|
|
return;
|
|
|
|
|
|
|
|
while (*p)
|
|
|
|
@{
|
|
|
|
p++;
|
|
|
|
(*(p-1)) ();
|
|
|
|
@}
|
|
|
|
|
|
|
|
#ifdef EH_FRAME_SECTION_ASM_OP
|
|
|
|
__deregister_frame_info (__EH_FRAME_BEGIN__);
|
|
|
|
#endif
|
|
|
|
completed = 1;
|
|
|
|
@}
|
|
|
|
======================================
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@item 3
|
|
|
|
Having got gcc working - it's probably a good idea to rebuild
|
|
|
|
all your GNU software using it!
|
|
|
|
|
|
|
|
@item 4
|
|
|
|
Build gstep as normal.
|
|
|
|
|
|
|
|
@item 5
|
|
|
|
The SIOCGIFCONF ioctl sometimes doesn't work on unixware after applying
|
|
|
|
some of the OS patches.
|
|
|
|
|
|
|
|
So I have added a '-a' flag to gdomap to give it the name of a file
|
|
|
|
containing IP address and netmask information for the network interfaces
|
|
|
|
on the system.
|
|
|
|
|
|
|
|
You need to set up a file (I suggest '/etc/gdomap_addresses') containing
|
|
|
|
the information for your machine and modify your system startup files in
|
|
|
|
/etc/rc?.d to run gdomap, telling it to use that file.
|
|
|
|
|
|
|
|
eg. If your machine has an IP address of '193.111.111.2' and is on a
|
|
|
|
class-C network, your /etc/gdomap_addresses file would contain the line
|
|
|
|
|
|
|
|
@example
|
|
|
|
193.111.111.2 255.255.255.0
|
|
|
|
@end example
|
|
|
|
|
|
|
|
and your startup file would contain the lines
|
|
|
|
|
|
|
|
@example
|
2003-11-08 15:51:21 +00:00
|
|
|
. /usr/local/GNUstep/Library/Makefiles/GNUstep.sh
|
2001-02-26 19:12:47 +00:00
|
|
|
gdomap -a /etc/gdomap_addresses
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
If you don't set gdomap up correctly, Distributed Objects will not
|
|
|
|
work.
|
|
|
|
|
|
|
|
@c -----------------------------------------
|
2001-04-10 03:19:42 +00:00
|
|
|
@node Windows with CYGWIN, Windows with MinGW, Unixware-2.1.3/Intel, Machine Specific
|
2004-06-10 15:07:36 +00:00
|
|
|
@section Windows with CYGWIN (@emph{Needs Testing})
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-02-26 19:12:47 +00:00
|
|
|
@item Recommended compiler
|
2004-06-06 04:01:41 +00:00
|
|
|
gcc 3.3.1 or later (with libobjc and libjava (if using libffi))
|
2001-02-26 19:12:47 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
2004-02-08 04:52:41 +00:00
|
|
|
Objective-C library DLL (@url{ftp://ftp.gnustep.org/pub/gnustep/windows/cygwin})
|
2001-05-29 03:37:46 +00:00
|
|
|
for shared libs. It's a good idea to remove the libobjc.a that comes with gcc
|
|
|
|
(gcc -v for location) so that it isn't accidentally found.
|
2001-06-23 03:04:52 +00:00
|
|
|
For ffcall, you should get version 1.8b or above (the earlier ones don't
|
|
|
|
compile). There are still some problems with structure passing, but that is
|
2004-06-06 04:01:41 +00:00
|
|
|
generally not supported on any architecture. libffi also works.
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2001-06-23 03:04:52 +00:00
|
|
|
@item Special Instructions
|
2001-02-26 19:12:47 +00:00
|
|
|
|
2002-05-15 15:31:09 +00:00
|
|
|
Make sure you have good shared libraries for everthing. Sometimes a bad
|
|
|
|
shared library (like libtiff) will cause odd and untraceable problems.
|
2004-03-08 04:16:13 +00:00
|
|
|
See @url{README.Cygwin} for information on compiling.
|
2001-04-10 03:19:42 +00:00
|
|
|
|
2004-06-06 04:01:41 +00:00
|
|
|
@end table
|
|
|
|
|
2001-03-02 15:37:20 +00:00
|
|
|
@c -----------------------------------------
|
2004-01-15 17:20:20 +00:00
|
|
|
@node Windows with MinGW, Yellowdog/PowerPC, Windows with CYGWIN, Machine Specific
|
2004-06-10 15:07:36 +00:00
|
|
|
@section Windows with MinGW
|
2001-03-02 15:37:20 +00:00
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2001-03-02 15:37:20 +00:00
|
|
|
@item Recommended compiler
|
2002-05-15 15:31:09 +00:00
|
|
|
See below.
|
2001-03-02 15:37:20 +00:00
|
|
|
|
|
|
|
@item Extra libs needed
|
2002-05-15 15:31:09 +00:00
|
|
|
See below.
|
2001-03-02 15:37:20 +00:00
|
|
|
|
|
|
|
@item Special Instructions
|
2004-03-08 04:16:13 +00:00
|
|
|
See the @url{README.MinGW} file located in the gnustep-make Documentation
|
2002-05-15 15:31:09 +00:00
|
|
|
directory for instructions. Windows NT/2000/XP only. Win98 machines and
|
|
|
|
earlier are very buggy and are not supported.
|
|
|
|
Native GUI backend is alpha version.
|
2001-03-02 15:37:20 +00:00
|
|
|
@end table
|
|
|
|
|
2004-01-15 17:20:20 +00:00
|
|
|
@c -----------------------------------------
|
|
|
|
@node Yellowdog/PowerPC, , Windows with MinGW, Machine Specific
|
|
|
|
@section Yellowdog/PowerPC
|
|
|
|
|
2004-10-18 15:32:39 +00:00
|
|
|
@table @var
|
2004-01-15 17:20:20 +00:00
|
|
|
@item Recommended compiler
|
|
|
|
Standard
|
|
|
|
|
|
|
|
@item Extra libs needed
|
|
|
|
Standard (ffcall or libffi)
|
|
|
|
|
|
|
|
@item Special Instructions
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
2001-02-26 19:12:47 +00:00
|
|
|
@ifclear HOWTO
|
|
|
|
@include end.texi
|
|
|
|
@end ifclear
|