| From: Declan Moriarty <junk_mail at iol.ie>
| Date: Sun, 25 Jun 2006 16:10:25 +0100
|
|[ ... ] I think it extremely
| unlikely that a vanilla gcc-4.1 will compile on any sort of an old
| system. They seem to be using very recent kernel headers and binutils
| versions to get it going.
probably wrong.
some evidence: both gcc-4.1.0 (the compiler itself),
and programs (and libraries) compiled with it, both
compile and run find on "older" systems — in my case,
a 2.4.1x (where <x> is something like 5). however,
the binutils are fairly new (c.3 years old), so I
cannot confirm "older" binutils would work.
some logic: why would the kernel matter? gcc can
be built as a cross-compiler for, and to run on,
other systems (not Linux), so ergo, kernel headers
aren't too important. which makes sense: a compiler
is not a kernel; there is not too much in the kernel
headers a compiler needs.
( I can say this with some assurance, since a large
part of my current $ob is maintaining a compiler
(not C) which runs on multiple platforms (not all
Linux). there is, AFAICR, only two kernel headers
used by the system-independent code, and the system
dependent-code needs only one more.
those three headers comprise exactly half of the
known system/architecture dependencies within the
compiler. )
cheers!
-blf-
--
Experienced (20+ yrs) kernel/software Eng: | Brian Foster Montpellier,
• Unix, embedded, &tc; • Linux; • doc; | blf at utvinternet.ie FRANCE
• IDL, automated testing, process, &tc. | Stop E$$o (ExxonMobile)!
Résumé (CV) http://www.blf.utvinternet.ie | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!