[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc
Subject: gcc 3.1 succeeds in building Linux 2.4.18
From: Craig Rodrigues <rodrigc () attbi ! com>
Date: 2002-03-17 19:24:56
[Download RAW message or body]
Hi,
I followed Bill Beebe's advice and tried compiling Linux kernel 2.4.18
with gcc version 3.1 20020308 (prerelease).
I followed these steps:
- download kernel-2.4.18-0.4.src.rpm from Red Hat Raw Hide
- make sure that gcc 3.1 20020308 (prerelease) is in my path
- rpm -i kernel-2.4.7-10.src.rpm
- cd /usr/src/redhat/SOURCES
- edit the patch linux-2.4.17-gccchoice.patch, and replace the line:
+ $(CONFIG_SHELL) scripts/kwhich gcc296 2>/dev/null || echo cc; fi)
with:
+ $(CONFIG_SHELL) scripts/kwhich gcc 2>/dev/null || echo cc; fi)
- rpm -bb kernel-2.4.spec
I was successfully able to build the Linux kernel, although I did not try
running it:
% strings vmlinux | grep gcc
Linux version 2.4.18-0.4 (root@loquat) (gcc version 3.1 20020308 (prerelease)) #1 Sun \
Mar 17 12:14:11 EST 2002
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@attbi.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic