2.4.36-stable kernel tree
リビジョン | 88232fa1077947624aad0caa6037f106e6e3f394 (tree) |
---|---|
日時 | 2008-09-22 13:32:20 |
作者 | |
コミッター | Willy Tarreau |
doc: mention chain-compiling for really old gccs
Compiling gcc 2.95.3 directly with 4.x breaks. Mention
chain-compiling as a way to get around that, and end
up with as ancient a gcc as you might like.
Signed-off-by: Erik Inge Bols <knan-lkml@anduin.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
@@ -167,6 +167,13 @@ commands : | ||
167 | 167 | |
168 | 168 | $ make CC=kernel-gcc -j 4 dep bzImage modules modules_install |
169 | 169 | |
170 | +7) I want to use a really old compiler, but compiling it breaks! | |
171 | +----------------------------------------------------------------- | |
172 | + | |
173 | +Tackle the problem in stages. Compile 3.x.y as above. Then use that to | |
174 | +compile 2.95.x (CC=/opt/kgcc/bin/kernel-gcc ./configure ...), install, | |
175 | +use 2.95.x to compile the next compiler in the chain, continue as | |
176 | +far as you'd like. | |
170 | 177 | |
171 | 178 | Conclusion |
172 | 179 | ========== |