README
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 09 18:35:30 2010 +0100 (2010-01-09)
branch1.5
changeset 1712 1e2a8d9953a4
parent 1546 61e8ce6419f4
child 1575 eb92c99b17cd
permissions -rw-r--r--
Tagging release 1.5.3
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@1554
     7
  - CONTRIBUTING
yann@1465
     8
    - Sending a bug report
yann@1465
     9
    - Sending patches
yann@1465
    10
  - CREDITS
yann@1465
    11
  - KNOWN ISSUES
yann@1465
    12
yann@1465
    13
yann@1465
    14
GETTING STARTED /
yann@1465
    15
_______________/
yann@1465
    16
yann@88
    17
To get you started, just enter:
yann@185
    18
  ./configure --help
yann@1
    19
yann@185
    20
You can find a (terse and WIP) documentation in docs/overview.txt.
yann@1
    21
yann@1
    22
You can also point your browser to
yann@1463
    23
  http://ymorin.is-a-geek.org/projects/crosstool
yann@96
    24
yann@1554
    25
yann@1546
    26
CONTRIBUTING /
yann@1546
    27
____________/
yann@1465
    28
yann@1465
    29
Sending a bug report
yann@1465
    30
--------------------
yann@1465
    31
yann@1465
    32
If you need to send a bug report, please send a mail with subject
yann@1490
    33
prefixed with "[CT_NG]" with to following destinations:
yann@1490
    34
    TO: yann.morin.1998 (at) anciens.enib.fr
yann@1490
    35
    CC: crossgcc (at) sourceware.org
yann@1465
    36
yann@1465
    37
Sending patches
yann@1465
    38
---------------
yann@1465
    39
yann@1335
    40
If you want to enhance crosstool-NG, there's a to-do list in the TODO file.
yann@1335
    41
yann@1348
    42
Patches should come with the appropriate SoB line. A SoB line is typically
yann@1490
    43
something like:
yann@1465
    44
   Signed-off-by: John DOE <john.doe@somewhere.net>
yann@1348
    45
yann@1348
    46
The SoB line is clearly described in Documentation/SubmittingPatches , section
yann@1348
    47
12, of your favourite Linux kernel source tree.
yann@1348
    48
yann@1466
    49
Then you'll need to correctly configure Mercurial. There are two extensions
yann@1466
    50
that you may find usefull:
yann@1466
    51
  - mq        : http://mercurial.selenic.com/wiki/MqExtension
yann@1466
    52
  - patchbomb : http://mercurial.selenic.com/wiki/PatchbombExtension
yann@1466
    53
yann@1546
    54
Commit messages should look like (without leading pipes):
yann@1546
    55
 |component: short, one-line description
yann@1546
    56
 |
yann@1546
    57
 |optional longer description
yann@1546
    58
 |on multiple lines if needed
yann@1546
    59
yann@1546
    60
Here is an example commit message (see revision a53a5e1d61db):
yann@1546
    61
 |comp-libs/cloog: fix building
yann@1546
    62
 |
yann@1546
    63
 |For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
yann@1546
    64
 |For any later versions, the directory name does have the version, such as
yann@1546
    65
 |cloog-ppl-0.15.4.
yann@1546
    66
yann@1466
    67
Here's a typical hacking session:
yann@1466
    68
  hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng crosstool-ng
yann@1466
    69
  cd crosstool-ng
yann@1466
    70
  hg qinit
yann@1466
    71
  hg qnew -D -U -e my_first_patch
yann@1466
    72
  *edit patch description*
yann@1466
    73
  *hack* *hack* *check* *fails* *hack* *hack* *check* *works*
yann@1466
    74
  hg qref -D -e
yann@1466
    75
  *edit patch description, serving as commit message*
yann@1466
    76
  hg qnew -D -U -e my_second_patch
yann@1466
    77
  *edit patch description*
yann@1466
    78
  *hack* *hack* *check* *fails* *hack* *hack* *check* *works*
yann@1466
    79
  hg qref -D -e
yann@1466
    80
  *edit patch description, serving as commit message*
yann@1466
    81
  hg email --outgoing --intro   \
yann@1466
    82
           --from '"Your Full NAME" <your.email (at) your.domain>'   \
yann@1466
    83
           --to '"Yann E. MORIN" <yann.morin.1998 (at) anciens.enib.fr>'    \
yann@1466
    84
           --cc 'crossgcc (at) sourceware.org'
yann@1466
    85
  *edit introductory message*
yann@1466
    86
  *wait for feedback*
yann@1466
    87
  *re-send if no answer for a few days*
yann@1466
    88
yann@1466
    89
Note: replace' (at) ' above with a plain '@'.
yann@1466
    90
yann@1554
    91
yann@1465
    92
CREDITS /
yann@1465
    93
_______/
yann@1465
    94
yann@386
    95
The people that helped are listed in docs/CREDITS. Many thanks to them! :-)
yann@185
    96
yann@1554
    97
yann@1465
    98
KNOWN ISSUES /
yann@1465
    99
____________/
yann@1465
   100
yann@908
   101
The list of known issues is listed in docs/known-issues.txt.
yann@817
   102
yann@185
   103
Aloha!