README
author Joachim Nilsson <jocke@vmlinux.org>
Fri Jan 01 12:17:39 2010 +0100 (2010-01-01)
changeset 1671 08a5129e6eb0
parent 1554 3b8df55987ae
child 2091 7975604aacbd
permissions -rw-r--r--
debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels

Here's a couple of patches to get strace 4.5.19 to configure and build
properly with the latest kernel headers. Not pretty, but hopefully
enough while we wait for 4.5.20 to be released.

With the current strace-4.5.19 patches I failed to get the configure
script running even on my host environment. Also, when cross building
the configure script needs to look for the proper system headers to be
able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get:

[EXTRA] Building strace
[ERROR] /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976:
error: field 'nl' has incomplete type
[ERROR] make[2]: *** [net.o] Error 1
[ERROR] make[1]: *** [all] Error 2

The fix was simple, backport a change set from the git[1] tree and run
autoreconf to update the configure script.

[1] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
yann@1
     1
This is the README for crosstool-NG
yann@1
     2
yann@1465
     3
TABLE OF CONTENT /
yann@1465
     4
________________/
yann@1465
     5
yann@1465
     6
  - GETTING STARTED
yann@1465
     7
  - CREDITS
yann@1465
     8
  - KNOWN ISSUES
yann@1465
     9
yann@1465
    10
yann@1465
    11
GETTING STARTED /
yann@1465
    12
_______________/
yann@1465
    13
yann@88
    14
To get you started, just enter:
yann@185
    15
  ./configure --help
yann@1
    16
yann@185
    17
You can find a (terse and WIP) documentation in docs/overview.txt.
yann@1575
    18
Here's a summary of what you'll find in there:
yann@1575
    19
  Introduction
yann@1575
    20
  History
yann@1575
    21
  Installing crosstool-NG
yann@1575
    22
  Configuring crosstool-NG
yann@1575
    23
  Running crosstool-NG
yann@1575
    24
  Using the toolchain
yann@1575
    25
  Toolchain types
yann@1575
    26
  Contributing
yann@1575
    27
  Internals
yann@1
    28
yann@1575
    29
You can also point your browser at:
yann@1463
    30
  http://ymorin.is-a-geek.org/projects/crosstool
yann@96
    31
yann@1554
    32
yann@1465
    33
CREDITS /
yann@1465
    34
_______/
yann@1465
    35
yann@386
    36
The people that helped are listed in docs/CREDITS. Many thanks to them! :-)
yann@185
    37
yann@1554
    38
yann@1465
    39
KNOWN ISSUES /
yann@1465
    40
____________/
yann@1465
    41
yann@908
    42
The list of known issues is listed in docs/known-issues.txt.
yann@817
    43
yann@185
    44
Aloha!