Currently there is no support for shared libraries in the LynxOS XFree86 port. A complete binary installation along with manual pages will require approximately 70-90 MBytes of disk space. To compile the system you will need at least 230 MBytes of free disk space.
Before compiling the XFree86 distribution you will have to make a few little adjustments to your system:
/CYGNUS.bash
to
apply the necessary changes to your environment.
#!/bin/sh
/cygnus/94q4-lynxos-x86/lib/gcc-lib/i386-lynx/2.6-94q4/cpp \
-traditional "$@"
It is possible that future releases use a different path for
the CYGNUS compiler support programs. You may use
gcc -v
to find out the correct path. Set the file mode of /lib/cpp with
# chown root /lib/cpp
# chmod 755 /lib/cpp
#!/bin/sh
/usr/local/lib/gcc-cpp -traditional "$@"
# cd xc/programs/Xserver/hw/xfree/etc
# cc -o ld ld-wrapper.c
# mv /bin/ld /bin/ld.org
# mv ld /bin/ld
# chmod 511 /bin/ld
# chown root /bin/ld
/usr/include/uio.h
surrounded by
#ifndef _UIO_H
#define _UIO_H
...
#endif
/usr/include/utmp.h
surrounded by
#ifndef _UTMP_H
#define _UTMP_H
...
#endif
/usr/include/unistd.h
add
extern int read();
Before you start compilation you must edit xc/config/cf/lynx.cf
to
match your operating system version. Change the definitions of
OSMajorVersion, OSMinorVersion and OSTeenyVersion accordingly.
You may now issue a
make World
to compile XFree86. After a few hours (and hopefully a successful build of the XFree86 system) you can install the software using
make install
You must be logged in as super-user (root) when you invoke `make install'. Be sure to set your environment to use the same compiler (LynxOS 2.3.0/2.4.0, CYGNUS GNU-C) as you did during the `make World'. To install the LinkKit use
make install.linkkit
With LynxOS 2.2.1 programs will not be stripped during installation. This is due to a problem with the strip program which shows up when installing across file system boundaries.
Refer to section Installing XFree86 manual pages for manual page installation.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter