aboutsummaryrefslogtreecommitdiff
path: root/coreutils-5.3.0-bin/contrib/sed/4.2.1/sed-4.2.1/sed-4.2.1-src/README.boot
blob: fd2d1a0e775795796cf4019f3cb5d693aefa767b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Because a working sed is a prerequisite for running the ``configure''
script, I have provided the script ``bootstrap.sh'' which will attempt
to build a version of sed adequate for running ``configure''.  If it
fails, edit the ``config.h'' file that was created according to the
comments found therein, and then try running ``bootstrap.sh'' again.

The bootstrap build is quite likely to babble on and on with
various compiler warnings.  You may want to tell bootstrap.sh
how to invoke your compiler with warnings disabled.  For example,
with a Bourne-like shell and gcc one could use:
  $ CC='gcc -w' sh bootstrap.sh
or with a csh-like shell, one could try:
  % env CC='gcc -w' sh bootstrap.sh

Once you get a working version of sed, temporarily install sed/sed
somewhere in your $PATH, and then really re-build the normal way
(starting with ``sh configure''); the bootstrap version is almost
certainly more crippled than it needs to be on your machine.

I don't much care to hear about any bugs in ``bootstrap'' versions
of sed beyond those which actually keep the ``bootstrap'' version from
building, or sed's configure script from running properly.  I am
especially uninterested in compiler warnings from the bootstrap build.